tabDiv: Table diversity column

View source: R/curation_contents.R

tabDivR Documentation

Table diversity column

Description

Table diversity column

Usage

tabDiv(exps, div.col, spl.col, min.exps = 5, perc = FALSE)

Arguments

exps

a data.frame storing BugSigDB experiment data

div.col

character. A column of exps that should be tabled.

spl.col

character. A column of exps that should be used to split div.col into groups.

min.exps

integer. Minimum number of experiments for a category in spl.col to be included in the result. Defaults to 5.

perc

logical. Return absolute frequencies or relative frequencies? Defaults to FALSE which will return absolute frequencies.

Value

A sorted table with table stats for the chosen diversity column


waldronlab/BugSigDBStats documentation built on Oct. 15, 2024, 5:16 p.m.