Description Usage Arguments Details Value Author(s) References Examples
Identify and select the baseline timepoint samples in a
phyloseq
object.
1 |
x |
phyloseq object. Assuming that the sample_data(x) has the fields 'time', 'sample' and 'subject' |
na.omit |
Logical. Ignore samples with no time point information. If this is FALSE, the first sample for each subject is selected even when there is no time information. |
Arranges the samples by time and picks the first sample for each subject. Compared to simple subsetting at time point zero, this checks NAs and possibility for multiple samples at the baseline, and guarantees that a single sample per subject is selected.
Phyloseq object with only baseline time point samples selected.
Contact: Leo Lahti microbiome-admin@googlegroups.com
See citation('microbiome')
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.