make_reduced_hierarchy_config: Make reduced hierarchy configuration

View source: R/AnalysisConfiguration.R

make_reduced_hierarchy_configR Documentation

Make reduced hierarchy configuration

Description

Make reduced hierarchy configuration

Usage

make_reduced_hierarchy_config(config, workIntensity, hierarchy)

Arguments

config

AnalysisConfiguration

workIntensity

work intensity column

hierarchy

new reduced hierarchy

Value

AnalysisConfiguration with reduced hieararchy

See Also

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(), table_factors_size()

Examples

bb <- prolfqua::sim_lfq_data_peptide_config()

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)

wolski/prolfqua documentation built on Oct. 31, 2024, 9:22 a.m.