View source: R/AnalysisConfiguration.R
summarize_hierarchy | R Documentation |
E.g compute number of peptides for each protein
summarize_hierarchy(
pdata,
config,
hierarchy = config$table$hierarchy_keys_depth(),
factors = character()
)
pdata |
data.frame |
config |
AnalysisConfiguration |
hierarchy |
for which hierarchy level (default up to hierarchy depth) |
factors |
which factors to include |
Other summary:
INTERNAL_FUNCTIONS_BY_FAMILY
,
hierarchy_counts()
,
hierarchy_counts_sample()
,
nr_B_in_A_per_sample()
bb <- sim_lfq_data_peptide_config()
data <- bb$data
configur <- bb$config
summarize_hierarchy(data, configur)
summarize_hierarchy(data, configur, factors = character())
summarize_hierarchy(data, configur,
hierarchy = configur$table$hierarchy_keys_depth() )
summarize_hierarchy(data, configur,
hierarchy = NULL, factors = configur$table$factor_keys_depth() )
configur$table$hierarchyDepth = 1
summarize_hierarchy(data, configur,
factors = configur$table$factor_keys_depth())
configur$table$hierarchyDepth = 2
summarize_hierarchy(data, configur)
configur$table$hierarchyDepth = 3
summarize_hierarchy(data, configur )
configur$table$hierarchyDepth = 4
summarize_hierarchy(data, configur )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.