@@ -110,7 +110,7 @@ plot_gset_heatmap <- function(scores, ids, cluster, scale, selected_cols, groups
110
110
if (scale == " none" ) {legend_name <- " log2(counts + 1)"
111
111
} else {legend_name <- " Z-score" }
112
112
113
- p <- ggheatmap :: ggheatmap(data = mat ,
113
+ ggheatmap :: ggheatmap(data = mat ,
114
114
color = colorRampPalette(c( " #0000ff" ," #fad541" ," #b60404" ))(100 ),
115
115
cluster_rows = clust_rows ,
116
116
cluster_cols = clust_cols ,
@@ -120,22 +120,7 @@ plot_gset_heatmap <- function(scores, ids, cluster, scale, selected_cols, groups
120
120
annotation_cols = col_metaData ,
121
121
annotation_color = col
122
122
)
123
-
124
- g <- ggheatmap_theme(ggheatmap = p ,
125
- plotlist = c(1 ,2 ),
126
- theme = list (
127
-
128
- theme(axis.title.x = element_blank(),
129
- text = element_text(size = 20 ),
130
- axis.text.x = element_blank(),
131
- axis.ticks.x = element_blank()),
132
-
133
- theme(
134
- legend.title = element_text(size = 18 ),
135
- legend.text = element_text(size = 18 ))
136
- )
137
- )
138
- g
123
+
139
124
}
140
125
141
126
plot_pathway <- function (selected_pathway , nrank , species ){
0 commit comments