Description Usage Arguments Value Author(s) Examples
Takes the year value in the last two digits of the sample ID and allows selection of a single year of data. Can be performed on tables at higher taxonomic levels generated by combine_otus(), or on tables already subset by bog_subset().
1 | year_subset(year_id, table)
|
table |
A table containing the relative abundances of each taxa |
year_id |
Two digit code indicating the last two digits of the year of interest (05, 07, 08, 09) surrounded by quotes. Regular expressions can be used. |
Returns an OTU table containing only samples from the specified year
Alexandra Linz <amlinz16@gmail.com>
1 2 3 4 5 6 | data(otu_table)
seven <- year_subset("07", otu_table)
# Select two years at once
two_years <- year_subset("07|08", otu_table)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.