frequencySigs | R Documentation |
Identify the most frequently recurring taxa in bugsigdb
frequencySigs(sigs, n = 10)
sigs |
data.frame produced by importBugSigDB |
n |
Number of top taxa to return |
integer vector of top most recurrent taxa
dat <- bugsigdbr::importBugSigDB()
dat.select <- bugsigdbr::getSignatures(dat, tax.level = "genus", exact.tax.level=TRUE)
dat.select <- dat.select[grep("UP", names(dat.select))] #only "UP" signatures
frequencySigs(sigs=dat.select, n = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.