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

View source: R/all_argonaut_support.R

glm_argonaut_calc_diff_corR Documentation

Run differential correlation analysis for all interacting metabolites and functions.

Description

Should not be run on its own. to be applied by anansiDiffCor(). Typically, the main anansi() function will handle this for you.

Usage

glm_argonaut_calc_diff_cor(web, which_dictionary, metadata, formula)

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.

which_dictionary

A matrix derived from calling which(web@dictionary, arr.ind = TRUE). It contains coordinates for the relevant measurements to be compared.

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.

formula

A formula object. Used to assess differential associations.

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.