Make reduced hierarchy configuration

make_reduced_hierarchy_config(config, workIntensity, hierarchy)

Arguments

config

AnalysisConfiguration

workIntensity

work intensity column

hierarchy

new reduced hierarchy

Value

AnalysisConfiguration with reduced hieararchy

Examples

bb <- prolfqua::sim_lfq_data_peptide_config()
#> creating sampleName from fileName column
#> completing cases
#> completing cases done
#> setup done

red <- make_reduced_hierarchy_config(bb$config,
 "testintensity",
 bb$config$table$hierarchy[1])
stopifnot(red$table$get_response() == "testintensity")
stopifnot(length(red$table$hierarchy) == 1)