WGCNA_one_run: perform a single run of the Weight Gene Correlation Network...

Description Usage Arguments Value Examples

View source: R/WGCNA_one_run.R

Description

perform a single run of the Weight Gene Correlation Network Analysis (WGCNA, Langfelder 2008) modified from original code by Carl Murie

Usage

1
2
3
4
5
6
7
8
9
WGCNA_one_run(
  dat,
  netType = "unsigned",
  pow = NULL,
  iter = 1,
  defaultPow = 3,
  showPlots = TRUE,
  ds = 1
)

Arguments

dat

A matrix of gene expression

netType

String indicating network type, default "unsigned"

pow

Integer indicating power

iter

Integer indicating number of iterations

defaultPow

Integer indicating default power

showPlots

Boolean indicating whether to plot

ds

Integer between 0 and 4, tree cutting parameter

Value

table of cluster memberships

Examples

1
2
3
4
## Not run: 
out <- WGCNA_one_run(dat, "unsigned", 1,1,3,TRUE,1)

## End(Not run)

ptvan/Pmisc documentation built on Nov. 19, 2020, 10:27 p.m.