aboutsummaryrefslogtreecommitdiff
path: root/scripts/wgcna_analysis.R
diff options
context:
space:
mode:
authorAlexander Kabui2021-09-14 22:12:43 +0300
committerAlexander Kabui2021-09-14 22:12:43 +0300
commitea0e92d3f63a9f403aacd5ab1590f61f2752158a (patch)
tree5923d8e4350d1ec1b5fbdf819d85e52a5583f4d4 /scripts/wgcna_analysis.R
parent1600992807a0b3edbe10e8c0baf80a41636a7650 (diff)
downloadgenenetwork3-ea0e92d3f63a9f403aacd5ab1590f61f2752158a.tar.gz
load the required data for analysis
Diffstat (limited to 'scripts/wgcna_analysis.R')
-rw-r--r--scripts/wgcna_analysis.R21
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));
+
+
+
+
+
+
+
+