View source: R/normalization.R
calc_taxa_means | R Documentation |
Use this function with a taxa table or taxa summary table to return mean values across multiple samples representing a sample type
calc_taxa_means(input, summarize_by_factor, metadata_map)
input |
The input dataset as loaded by |
summarize_by_factor |
Category in mapping file to summarize by. |
metadata_map |
[Optional] The metadata mapping data frame. Required if
input is a |
If input is a list, returns a list with a taxa table (data_loaded)
and a mapping data frame (map_loaded), i.e. the output of
load_taxa_table
. It will automatically return taxonomy in the
list if provided in the input.
calc_taxa_means(fruits_veggies, 'Sample_type')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.