Skip to content

Commit f67c0c1

Browse files
authored
Update server.R
1 parent 379cb3e commit f67c0c1

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

fea/tab_SCORES/server.R

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ get_score_pathways <- function(mat_name, mat, organism, database, pathways, name
5151

5252

5353
plot_gset_heatmap <- function(scores, ids, cluster, scale, selected_cols, groups){
54-
54+
55+
print(sessionInfo())
56+
5557
df <- data.frame(cells = names(scores[[1]]))
5658
for (score in ids){
5759
#print(score)
@@ -120,15 +122,19 @@ plot_gset_heatmap <- function(scores, ids, cluster, scale, selected_cols, groups
120122
)
121123

122124
g <- ggheatmap_theme(ggheatmap = p,
123-
plotlist = 1,
125+
plotlist = c(1,2),
124126
theme =list(
125127

126128
theme(axis.title.x=element_blank(),
127129
text = element_text(size=20),
128130
axis.text.x=element_blank(),
129-
axis.ticks.x=element_blank())
130-
) #close list
131-
) #close ggheatmap_theme
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+
)
132138
g
133139
}
134140

0 commit comments

Comments
 (0)