moduleEigengenes: moduleEigengenes

View source: R/Functions.R

moduleEigengenesR Documentation

moduleEigengenes

Description

finds the first principal component (eigengene) in each module defined by the colors of the input vector "colors". The theoretical underpinnings are described in Horvath, Dong, Yip (2005) http://www.genetics.ucla.edu/labs/horvath/ModuleConformity/ This requires the R library impute

Usage

moduleEigengenes(
  expr,
  colors,
  impute = TRUE,
  nPC = 1,
  align = "along average",
  excludeGrey = FALSE,
  grey = if (is.numeric(colors)) 0 else "grey",
  subHubs = TRUE,
  trapErrors = FALSE,
  returnValidOnly = trapErrors,
  softPower = 6,
  scale = TRUE,
  verbose = 0,
  indent = 0
)

Arguments

expr
colors
impute
nPC
align
excludeGrey
grey
subHubs
trapErrors
returnValidOnly
softPower
scale
verbose
indent

milescsmith/WGCNA documentation built on April 11, 2024, 1:26 a.m.