Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
custom
Amodio_Infertility_2023
Commits
3850ff23
Commit
3850ff23
authored
Jan 09, 2025
by
Giorgia Giacomini
Browse files
Update Figure_5b.R
parent
1e116618
Changes
1
Hide whitespace changes
Inline
Side-by-side
Script/Figure_5b.R
View file @
3850ff23
...
...
@@ -8,7 +8,7 @@ library(pheatmap)
library
(
Seurat
)
# Loads the GSEA results from an RDS file
gsea_res
<-
readRDS
(
"
/beegfs/scratch/ric.gregori/ric.gregori/Infertility/object/
gsea_intracluster_OAT_NOA_vs_FER.rds"
)
gsea_res
<-
readRDS
(
"gsea_intracluster_OAT_NOA_vs_FER.rds"
)
# Removes comparisons between NOA and OAT
index
<-
c
(
3
,
6
,
9
,
12
,
15
,
18
,
21
,
24
,
27
)
...
...
@@ -162,4 +162,4 @@ gsea_tile_plot <-ggplot(data = total_cast_melt, mapping = aes(x = cluster, y = I
low
=
'#005295'
,
high
=
'#770000'
,
mid
=
'white'
)
# +
# Save the plot to a file
ggsave
(
filename
=
"GSEA_tile_plot.png"
,
width
=
7
,
height
=
6
,
plot
=
gsea_tile_plot
)
\ No newline at end of file
ggsave
(
filename
=
"GSEA_tile_plot.png"
,
width
=
7
,
height
=
6
,
plot
=
gsea_tile_plot
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment