collapse_replicates | R Documentation |
Collapse samples, mostly meant for technical replicates.
collapse_replicates(
x,
method = "sample",
replicate_id = NULL,
replicate_fields = NULL
)
x |
|
method |
Collapsing method. Only random sampling ("sample") implemented. |
replicate_id |
Replicate identifier. A character vector. |
replicate_fields |
Metadata fields used to determine replicates. |
Collapsed phyloseq object.
Contact: Leo Lahti microbiome-admin@googlegroups.com
To cite the microbiome R package, see citation('microbiome')
data(atlas1006)
pseq <- collapse_replicates(atlas1006,
method = "sample",
replicate_fields = c("subject", "time"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.