module_stability: Perform module stability analysis

View source: R/gcn_inference.R

module_stabilityR Documentation

Perform module stability analysis

Description

Perform module stability analysis

Usage

module_stability(exp, net, nRuns = 20)

Arguments

exp

A gene expression data frame with genes in row names and samples in column names or a 'SummarizedExperiment' object.

net

List object returned by exp2gcn.

nRuns

Number of times to resample. Default is 20.

Value

A base plot with the module stability results.

See Also

sampledBlockwiseModules

Examples

data(filt.se)
filt <- filt.se[1:100, ] # reducing even further for testing purposes
# The SFT fit was previously calculated and the optimal power was 16
gcn <- exp2gcn(filt, SFTpower = 16, cor_method = "pearson")
# For simplicity, only 2 runs
module_stability(exp = filt, net = gcn, nRuns = 2)

almeidasilvaf/BioNERO documentation built on Oct. 9, 2024, 1:49 a.m.