View source: R/phyloseq_merge_samples.R
phyloseq_merge_samples | R Documentation |
This function will merge samples (specified by their names) in a phyloseq-object.
phyloseq_merge_samples(phys, samples_to_merge, new_id = NULL)
phys |
A phyloseq-class object |
samples_to_merge |
Character vector of sample names that should be merged |
new_id |
Name of the new sample |
Sample metadata of the first ID from 'samples_to_merge' will be used as a representative for a group.
Phyloseq-object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.