changeset 4:b14e4bf568b0 draft

Uploaded
author spficklin
date Mon, 25 Nov 2019 12:17:08 -0500
parents d1a0b7ded7e3
children 1915371bea02
files aurora_wgcna.Rmd
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/aurora_wgcna.Rmd	Fri Nov 22 19:45:51 2019 -0500
+++ b/aurora_wgcna.Rmd	Mon Nov 25 12:17:08 2019 -0500
@@ -336,8 +336,9 @@
 ```
 
 ```{r}
-output = cbind(colnames(gemt), module_labels)
-colnames(output) = c('Gene', 'Module')
+module_colors = sub('ME','', module_labels)
+output = cbind(colnames(gemt), module_labels, module_colors)
+colnames(output) = c('Gene', 'Module', 'Color')
 write.csv(output, file = opt$gene_module_file, quote=FALSE, row.names=FALSE)
 ```