View source: R/getSignatures.R
restrictTaxLevel | R Documentation |
Functionality for restricting microbe signatures to specific taxonomic levels such as genus and species.
restrictTaxLevel(df, tax.level = "mixed", exact.tax.level = TRUE, min.size = 1)
df |
|
tax.level |
character. Either |
exact.tax.level |
logical. Should only the exact taxonomic level
specified by |
min.size |
integer. Minimum signature size. Defaults to 1, which will
filter out empty signatures. Use |
a data.frame
with microbe signature columns restricted to
chosen
taxonomic level(s).
BugSigDB: https://bugsigdb.org
importBugSigDB
df <- importBugSigDB()
df <- restrictTaxLevel(df, tax.level = "genus")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.