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-05-05 19:21:34
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 1578 838 816 1678 29465 1485 572511 1350 375288
#> 384 355 340 331 258 253 204 193 189 187