diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/wgcna_analysis.R | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/wgcna_analysis.R b/scripts/wgcna_analysis.R index e69de29..a8170b6 100644 --- a/scripts/wgcna_analysis.R +++ b/scripts/wgcna_analysis.R @@ -0,0 +1,21 @@ +# initial workspace setup + +library(WGCNA); +stringsAsFactors = FALSE + +# load expression data **assumes csv format row(traits)(columns info+samples) + + +wgcnaRawData <- read.csv(file = "wgcna_data.csv") + +# transform expressionData + +datExpr <- as.data.frame(t(wgcnaRawData)); + + + + + + + + |