make_interaction_column: create interaction column from factors

View source: R/AnalysisConfiguration.R

make_interaction_columnR Documentation

create interaction column from factors

Description

create interaction column from factors

Usage

make_interaction_column(data, columns, sep = ".")

See Also

Other configuration: AnalysisConfiguration, AnalysisParameters, AnalysisTableAnnotation, INTERNAL_FUNCTIONS_BY_FAMILY, R6_extract_values(), complete_cases(), concrete_AnalysisConfiguration, make_reduced_hierarchy_config(), sample_subset(), separate_factors(), separate_hierarchy(), setup_analysis(), spread_response_by_IsotopeLabel(), table_factors()

Examples

xx <- data.frame(A = c("a","a","a"), B = c("d","d","e"))
# debug(make_interaction_column)
x <- make_interaction_column(xx, c("B","A"))
x <- make_interaction_column(xx, c("A"))
bb <- prolfqua::sim_lfq_data_protein_config()
config <- bb$config
analysis <- bb$data

config$table$factorDepth <- 1
make_interaction_column(analysis,
   config$table$factor_keys_depth())


wolski/prolfqua documentation built on May 12, 2024, 10:16 p.m.