View source: R/remove_taxons.r
| remove_taxons | R Documentation |
Remove taxa from a Dataset object.
remove_taxons(Dat, taxons)
Dat |
A Dataset object. |
taxons |
String vector indicating which taxa to remove. Taxon IDs must be equal to the row names of the abundance table on Dat. |
A Dataset object.
Sur Herrera Paredes
remove_samples
data(Rhizo)
data(Rhizo.map)
Dat <- create_dataset(Rhizo, Rhizo.map)
Dat <- remove_samples(Dat,
colnames(Dat$Tab)[1:50])
Dat <- remove_taxons(Dat,
row.names(Dat$Tab)[1:115])
sum(colSums(Dat$Tab) == 0)
sum(rowSums(Dat$Tab) == 0)
Dat$Tab
Dat.clean <- clean(Dat)
Dat.clean$Tab
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.