anansiDiffCor: Run differential correlation analysis for all interacting...

View source: R/anansi_diff_cor_qr.R

anansiDiffCorR Documentation

Run differential correlation analysis for all interacting metabolites and functions.

Description

Can either take continuous or categorical data for groups. Typically, the main anansi() function will run this for you.

Usage

anansiDiffCor(yarn, metadata, verbose = TRUE)

Arguments

yarn

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

metadata

A vector or data.frame of categorical or continuous value necessary for differential correlations. Typically a state or treatment score. If no argument provided, anansi will let you know and still to regular correlations according to your dictionary.

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 model, one for emergent correlations and one for disjointed correlations.


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