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

Examples

xx <- data.frame(A = c("a","a","a"), B = c("d","d","e"))
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 Oct. 31, 2024, 9:22 a.m.