Mercurial > repos > yhoogstrate > edger_with_design_matrix
comparison edgeR_Differential_Gene_Expression.xml @ 122:7bb87a6bc4d5 draft
planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/edger_with_design_matrix commit 77b660f5d221cc2c0725dc605a16805721d66dbc
author | yhoogstrate |
---|---|
date | Wed, 16 Dec 2015 11:15:18 -0500 |
parents | 6c90a67a13fa |
children |
comparison
equal
deleted
inserted
replaced
121:6c90a67a13fa | 122:7bb87a6bc4d5 |
---|---|
286 | 286 |
287 # hierarchical clustering makes use of the distance of the MDS | 287 # hierarchical clustering makes use of the distance of the MDS |
288 if(output_MDSplot_logFC != "/dev/null" || output_MDSplot_logFC_coordinates != "/dev/null" || output_hierarchical_clustering_plot != "/dev/null") { | 288 if(output_MDSplot_logFC != "/dev/null" || output_MDSplot_logFC_coordinates != "/dev/null" || output_hierarchical_clustering_plot != "/dev/null") { |
289 write("Calculating MDS plot (logFC method)",stdout()) | 289 write("Calculating MDS plot (logFC method)",stdout()) |
290 n_dim <- nrow(dge\$samples) | 290 n_dim <- nrow(dge\$samples) |
291 | |
292 if(n_dim >= nrow(dge\$counts)) { | |
293 n_dim <- 3 | |
294 } | |
295 | |
291 mds_distance_logFC <- plotMDS.DGEList(dge,top=500,labels=rep("",nrow(dge\$samples)),dim.plot=c(n_dim-2,n_dim-1)) | 296 mds_distance_logFC <- plotMDS.DGEList(dge,top=500,labels=rep("",nrow(dge\$samples)),dim.plot=c(n_dim-2,n_dim-1)) |
292 dev.off()# Kill it | 297 dev.off()# Kill it |
293 | 298 |
294 # Reset to primary dimensions | 299 # Reset to primary dimensions |
295 mds_distance_logFC\$x = mds_distance_logFC\$cmdscale.out[,1] | 300 mds_distance_logFC\$x = mds_distance_logFC\$cmdscale.out[,1] |