getSignatures {bugsigdbr} | R Documentation |
Functionality for obtaining microbe signatures from BugSigDB
getSignatures( df, tax.id.type = c("ncbi", "metaphlan", "taxname"), tax.level = "mixed", exact.tax.level = TRUE, min.size = 1 )
df |
|
tax.id.type |
Character. Taxonomic ID type of the returned microbe sets.
Either |
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 signature. Use |
a list
of microbe signatures. Each signature is a character
vector of taxonomic IDs depending on the chosen tax.id.type
.
BugSigDB: https://bugsigdb.org
importBugSigDB
df <- importBugSigDB() sigs <- getSignatures(df)