Skip to content

Commit 924c82b

Browse files
authored
Update server.R
1 parent b4a0981 commit 924c82b

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

fea/tab_SCORES/server.R

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ plot_gset_heatmap <- function(scores, ids, cluster, scale, selected_cols, groups
110110
if (scale == "none") {legend_name <- "log2(counts + 1)"
111111
} else {legend_name <- "Z-score"}
112112

113-
p <- ggheatmap::ggheatmap(data = mat,
113+
ggheatmap::ggheatmap(data = mat,
114114
color = colorRampPalette(c( "#0000ff","#fad541","#b60404"))(100),
115115
cluster_rows = clust_rows,
116116
cluster_cols = clust_cols,
@@ -120,23 +120,6 @@ plot_gset_heatmap <- function(scores, ids, cluster, scale, selected_cols, groups
120120
annotation_cols = col_metaData,
121121
annotation_color = col
122122
)
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
139-
140123
}
141124

142125
plot_pathway <- function(selected_pathway, nrank, species){

0 commit comments

Comments
 (0)