diff options
author | Alexander Kabui | 2021-09-14 22:12:43 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-09-14 22:12:43 +0300 |
commit | ea0e92d3f63a9f403aacd5ab1590f61f2752158a (patch) | |
tree | 5923d8e4350d1ec1b5fbdf819d85e52a5583f4d4 | |
parent | 1600992807a0b3edbe10e8c0baf80a41636a7650 (diff) | |
download | genenetwork3-ea0e92d3f63a9f403aacd5ab1590f61f2752158a.tar.gz |
load the required data for analysis
-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)); + + + + + + + + |