Skip to contents

This function performs differential abundance analysis on the cell clusters contained within a `tof_tbl` using one of three methods ("diffcyt", "glmm", and "ttest"). It wraps the members of the `tof_analyze_abundance_*` function family: tof_analyze_abundance_diffcyt, tof_analyze_abundance_glmm, and tof_analyze_abundance_ttest.

Usage

tof_analyze_abundance(tof_tibble, method = c("diffcyt", "glmm", "ttest"), ...)

Arguments

tof_tibble

A `tof_tbl` or a `tibble`.

method

A string indicating which statistical method should be used. Valid values include "diffcyt", "glmm", and "ttest".

...

Additional arguments to pass onto the `tof_analyze_abundance_*` function family member corresponding to the chosen method.

Value

A tibble or nested tibble containing the differential abundance results from the chosen method. See tof_analyze_abundance_diffcyt, tof_analyze_abundance_glmm, and tof_analyze_abundance_ttest for details.

See also

Other differential abundance analysis functions: tof_analyze_abundance_diffcyt(), tof_analyze_abundance_glmm(), tof_analyze_abundance_ttest()

Examples

# For differential discovery examples, please see the package vignettes
NULL
#> NULL