frequencySigs.Rd
Identify the most frequently recurring taxa in bugsigdb
frequencySigs(sigs, n = 10)
data.frame produced by importBugSigDB
Number of top taxa to return
integer vector of top most recurrent taxa
dat <- bugsigdbr::importBugSigDB()
#> Using cached version from 2025-01-30 21:57:36
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)
#> 1301 838 1578 816 29465 1678 848 1350 1485 1654
#> 299 276 259 198 195 179 157 149 143 122