R/AnalysisConfiguration.R
make_reduced_hierarchy_config.Rd
Make reduced hierarchy configuration
make_reduced_hierarchy_config(config, workIntensity, hierarchy)
AnalysisConfiguration
work intensity column
new reduced hierarchy
AnalysisConfiguration with reduced hieararchy
Other configuration:
AnalysisConfiguration
,
AnalysisParameters
,
AnalysisTableAnnotation
,
INTERNAL_FUNCTIONS_BY_FAMILY
,
R6_extract_values()
,
complete_cases()
,
concrete_AnalysisConfiguration
,
make_interaction_column()
,
sample_subset()
,
separate_factors()
,
separate_hierarchy()
,
setup_analysis()
,
spread_response_by_IsotopeLabel()
,
table_factors()
bb <- prolfqua::sim_lfq_data_peptide_config()
#> creating sampleName from fileName column
#> Warning: no nr_children column specified in the data, adding column nr_children and setting to 1.
#> completing cases
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)