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 2022-03-31 12:35:22
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 29465 1485 816 1350 1678 1654 848
#> 140 100 99 76 69 66 61 61 54 54