Description Usage Arguments Value Author(s) References Examples
Collapse samples, mostly meant for technical replicates.
1 2 3 4 5 6 | 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')
1 2 3 4 | 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.