git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/branches/RELEASE_3_5/madman/Rpacks/DEsubs@130664 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -91,9 +91,11 @@ geneVisualization <- function ( DEsubs.out, |
91 | 91 |
# Analysis #3 |
92 | 92 |
if ( measures.barplot ) |
93 | 93 |
{ |
94 |
- |
|
95 |
- names(topGenes) <- .changeAnnotation(annData=names(topGenes), |
|
96 |
- org='hsa', choice='entrezToHGNC') |
|
94 |
+ if ( org == 'hsa' ) |
|
95 |
+ { |
|
96 |
+ names(topGenes) <- .changeAnnotation(annData=names(topGenes), |
|
97 |
+ org='hsa', choice='entrezToHGNC') |
|
98 |
+ } |
|
97 | 99 |
|
98 | 100 |
.matrixVisualization( -log10(topGenes), type='barplot', title='', |
99 | 101 |
colors=colors.barplot, |
... | ... |
@@ -158,9 +160,12 @@ geneVisualization <- function ( DEsubs.out, |
158 | 160 |
|
159 | 161 |
if ( visualize ) |
160 | 162 |
{ |
161 |
- rownames(ranking) <- .changeAnnotation( annData=rownames(ranking), |
|
162 |
- org='hsa', |
|
163 |
- choice='entrezToHGNC') |
|
163 |
+ if (org == 'hsa') |
|
164 |
+ { |
|
165 |
+ rownames(ranking) <- .changeAnnotation( annData=rownames(ranking), |
|
166 |
+ org='hsa', |
|
167 |
+ choice='entrezToHGNC') |
|
168 |
+ } |
|
164 | 169 |
|
165 | 170 |
.matrixVisualization( dataVis=as.matrix(ranking), |
166 | 171 |
type='heatmap', title='topological', |