Mercurial > repos > spficklin > aurora_wgcna
comparison aurora_wgcna.Rmd @ 4:b14e4bf568b0 draft
Uploaded
author | spficklin |
---|---|
date | Mon, 25 Nov 2019 12:17:08 -0500 |
parents | 66ef158fa85c |
children | 96ba1a8fff06 |
comparison
equal
deleted
inserted
replaced
3:d1a0b7ded7e3 | 4:b14e4bf568b0 |
---|---|
334 TOMplot(plotDiss, selectTree, colors, main = paste('TOM Heatmap, Block', i)) | 334 TOMplot(plotDiss, selectTree, colors, main = paste('TOM Heatmap, Block', i)) |
335 } | 335 } |
336 ``` | 336 ``` |
337 | 337 |
338 ```{r} | 338 ```{r} |
339 output = cbind(colnames(gemt), module_labels) | 339 module_colors = sub('ME','', module_labels) |
340 colnames(output) = c('Gene', 'Module') | 340 output = cbind(colnames(gemt), module_labels, module_colors) |
341 colnames(output) = c('Gene', 'Module', 'Color') | |
341 write.csv(output, file = opt$gene_module_file, quote=FALSE, row.names=FALSE) | 342 write.csv(output, file = opt$gene_module_file, quote=FALSE, row.names=FALSE) |
342 ``` | 343 ``` |
343 | 344 |
344 A file has been generated named `gene_module_file.csv` which contains the list of genes and the modules they belong to. | 345 A file has been generated named `gene_module_file.csv` which contains the list of genes and the modules they belong to. |
345 | 346 |