createTaxonTable: Create a table of most frequent taxa in a data.frame

View source: R/describe_curation.R

createTaxonTableR Documentation

Create a table of most frequent taxa in a data.frame

Description

Create a table of most frequent taxa in a data.frame

Usage

createTaxonTable(dat, n = 10)

Arguments

dat

data.frame produced by importBugSigDB, subsetted as desired

n

number of taxa to return (if sig.type=="both", this is the number of taxa to return for each direction)

Value

kable table with increased and decreased taxa and a binomial test based on total number of studies in the data.frame

Examples

full.dat <- bugsigdbr::importBugSigDB()
createTaxonTable(full.dat, n=20)

waldronlab/bugSigSimple documentation built on Feb. 1, 2024, 12:22 a.m.