getMergedModules: Get Module scores for Merged Modules

Description Usage Arguments

View source: R/getMergedModules.R

Description

Get Module scores for Merged Modules

Usage

1
2
getMergedModules(graph, data, phenotype, covars, nodes,
  scoringFunction = linearScoring)

Arguments

graph

an igraph object, which can be generated with generateNetwork. The ID of the nodes must correspond to the name of the variables.

data

either a matrix, where the columns correspond to the variables and the rows to the observations. Or a data.table with three columns: name, sampleID and value.

phenotype

a vector with the values for a phenotype of interest. It must have the same number of observations as in data.

covars

a data.table containing the covariates to correct for.

nodes

an igraph object, containing the information for the nodes and their new modules.

scoringFunction

a scoring function accepting parameters moduleRepresentatives, phenotype and covars. See linearScoring


krumsiek/MoDentify documentation built on March 25, 2021, 8:32 a.m.