prevalence_tab: Calculates the presence or absence of a microorganism

Description Usage Arguments Value See Also

View source: R/helper_prevalence.R

Description

It takes into account only samples with more than 0.5% of relative presence of the microorganism

Usage

1
prevalence_tab(table, meta, columns)

Arguments

table

Input data with the samples in columns and microorganism in rows

meta

Metadata associated with those samples (it assumes they are in the same order as in table)

columns

Column to make contrasts from

Value

a list with the matrices of presence and absence

See Also

prevalence(), comb_prevalence()


llrs/integration-helper documentation built on Sept. 24, 2021, 10:57 a.m.