anansiCorTestByGroup: Run correlations for all interacting metabolites and...

View source: R/anansiCorTestByGroup.R

anansiCorTestByGroupR Documentation

Run correlations for all interacting metabolites and functions.

Description

If the groups argument is suitable, will also run correlation analysis per group. Typically, the main anansi() function will run this for you.

Usage

anansiCorTestByGroup(web, group.vec, verbose = TRUE)

Arguments

web

An anansiWeb object, containing two tables with omics data and a dictionary that links them. See weaveWebFromTables() for how to weave a web.

group.vec

A character vector denoting group membership. Typically a state or treatment score.

verbose

A boolean. Toggles whether to print diagnostic information while running. Useful for debugging errors on large datasets.

Value

a list of anansiTale result objects, one for the total dataset and per group if applicable.

See Also

anansi


thomazbastiaanssen/anansi documentation built on Feb. 9, 2025, 2:07 p.m.