getMostFrequentTaxa: Get most frequent taxa

View source: R/curation_contents.R

getMostFrequentTaxaR Documentation

Get most frequent taxa

Description

Get most frequent taxa

Usage

getMostFrequentTaxa(dat, n = 10, direction = c("BOTH", "UP", "DOWN"), ...)

Arguments

dat

a data.frame storing BugSigDB data

n

integer. Number of taxa to show. Defaults to 10 which will then show the 10 most frequent taxa.

direction

character. Indicates direction of abundance change for signatures to be included. Use "UP" to restrict computation to signatures with increased abundance in the exposed group. Use "DOWN" to restrict to signatures with decreased abundance in the exposed group. Defaults to "BOTH" which will not filter signatures by direction of abundance change.

...

Additional arguments passed on to bugsigdbr::getSignatures

Value

A sorted table listing absolute frequencies for the most frequent taxa


waldronlab/BugSigDBStats documentation built on Oct. 21, 2023, 6:11 a.m.