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
Scarfo HEC2023
Commits
6cbc00ef
Commit
6cbc00ef
authored
Apr 16, 2024
by
Monah Abou Alezz
Browse files
revisions_update_v2
parent
f0c3cffa
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
6cbc00ef
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
This repository includes essential scripts for producing final tables and figures embedded in the following manuscript:
This repository includes essential scripts for producing final tables and figures embedded in the following manuscript:
**Scarfò et al**
,_The Fc receptor CD32 identifies human hemogenic endothelial cells irreversibly bound to the endothelial-to-hematopoietic transition_
**Scarfò et al**
,_The Fc receptor CD32 identifies human hemogenic endothelial cells irreversibly bound to the endothelial-to-hematopoietic transition_
PubMed:
PubMed:
38594587
DOI:
DOI:
10.1038/s41556-024-01403-0
GEO: GSE223223
GEO: GSE223223
---
---
...
...
scRNAseq/ED_Figure5_plots.R
View file @
6cbc00ef
...
@@ -3,12 +3,15 @@ suppressPackageStartupMessages(library(monocle3))
...
@@ -3,12 +3,15 @@ suppressPackageStartupMessages(library(monocle3))
suppressPackageStartupMessages
(
library
(
ggplot2
))
suppressPackageStartupMessages
(
library
(
ggplot2
))
suppressPackageStartupMessages
(
library
(
dplyr
))
suppressPackageStartupMessages
(
library
(
dplyr
))
suppressPackageStartupMessages
(
library
(
ComplexHeatmap
))
suppressPackageStartupMessages
(
library
(
ComplexHeatmap
))
suppressPackageStartupMessages
(
library
(
viridis
))
suppressPackageStartupMessages
(
library
(
outliers
))
suppressPackageStartupMessages
(
library
(
R.utils
))
# ED_Fig5B ----------------------------------------------------------------
# ED_Fig5B ----------------------------------------------------------------
## load scRNAseq data from public dataset GSE162950
## load scRNAseq data from public dataset GSE162950
load
(
"Scarfo_HEC2023/scRNAseq/s
eurat_object
.Rdata"
)
load
(
"Scarfo_HEC2023/scRNAseq/s
ample_final
.Rdata"
)
sample
<-
SetIdent
(
sample
,
value
=
sample
@
meta.data
$
seurat_clusters
)
sample
<-
SetIdent
(
sample
,
value
=
sample
@
meta.data
$
seurat_clusters
)
DimPlot
(
sample
,
label
=
TRUE
,
group.by
=
"seurat_clusters"
)
DimPlot
(
sample
,
label
=
TRUE
,
group.by
=
"seurat_clusters"
)
sample
@
meta.data
[[
"orig.ident"
]]
<-
factor
(
sample
@
meta.data
[[
"orig.ident"
]],
sample
@
meta.data
[[
"orig.ident"
]]
<-
factor
(
sample
@
meta.data
[[
"orig.ident"
]],
...
@@ -24,7 +27,7 @@ DimPlot(sample,
...
@@ -24,7 +27,7 @@ DimPlot(sample,
label
=
F
,
label
=
F
,
repel
=
T
,
repel
=
T
,
reduction
=
"umap"
,
reduction
=
"umap"
,
group.by
=
"orig.ident"
,
group.by
=
"orig.ident"
,
pt.size
=
0.1
,
pt.size
=
0.1
,
cols
=
c
(
"AGM_CS10_Liu"
=
"#00BFC4"
,
cols
=
c
(
"AGM_CS10_Liu"
=
"#00BFC4"
,
"AGM_CS11_Liu"
=
"#00A9FF"
,
"AGM_CS11_Liu"
=
"#00A9FF"
,
...
@@ -50,7 +53,7 @@ FeaturePlot(sample,
...
@@ -50,7 +53,7 @@ FeaturePlot(sample,
# ED_Fig5E ----------------------------------------------------------------
# ED_Fig5E ----------------------------------------------------------------
install_github
(
"sturgeonlab/Luff-etal-2021/SingleR/versioncontrolscripts"
)
devtools
::
install_github
(
"sturgeonlab/Luff-etal-2021/SingleR/versioncontrolscripts"
)
library
(
versioncontrolscripts
)
library
(
versioncontrolscripts
)
## load reference dataset
## load reference dataset
...
@@ -58,7 +61,7 @@ cd32_dll4 <- read.table("Scarfo_HEC2023/BulkRNAseq_2/featureCounts_results_tpm.t
...
@@ -58,7 +61,7 @@ cd32_dll4 <- read.table("Scarfo_HEC2023/BulkRNAseq_2/featureCounts_results_tpm.t
header
=
T
,
sep
=
"\t"
)
header
=
T
,
sep
=
"\t"
)
## load Seurat data
## load Seurat data
load
(
"Scarfo_HEC2023/scRNAseq/s
eurat_object
.Rdata"
)
load
(
"Scarfo_HEC2023/scRNAseq/s
ample_final
.Rdata"
)
sample
<-
SetIdent
(
sample
,
value
=
sample
@
meta.data
$
seurat_clusters
)
sample
<-
SetIdent
(
sample
,
value
=
sample
@
meta.data
$
seurat_clusters
)
sample_noYS
<-
subset
(
sample
,
orig.ident
!=
"YolkSac_CS11_Liu"
)
sample_noYS
<-
subset
(
sample
,
orig.ident
!=
"YolkSac_CS11_Liu"
)
sample_noYS
@
meta.data
[[
"orig.ident"
]]
<-
sample_noYS
@
meta.data
[[
"orig.ident"
]]
<-
...
...
scRNAseq/Fig4_plots.R
View file @
6cbc00ef
...
@@ -122,7 +122,7 @@ degs_clu11_vs_clu16_17 <- FindMarkers(object = runx1, ident.1 = 11, ident.2 = c(
...
@@ -122,7 +122,7 @@ degs_clu11_vs_clu16_17 <- FindMarkers(object = runx1, ident.1 = 11, ident.2 = c(
## GSEA
## GSEA
adj.pval.thr
<-
0.05
adj.pval.thr
<-
0.05
gmt.obj
<-
read.gmt
(
"Scarfo_HEC2023/
Bulk
RNAseq
_1
/c5.all.v7.2.symbols.gmt"
)
gmt.obj
<-
read.gmt
(
"Scarfo_HEC2023/
sc
RNAseq/c5.all.v7.2.symbols.gmt"
)
comp
<-
c
(
"clu11_vs_clu0_1_2"
,
"clu11_vs_clu16_17"
)
comp
<-
c
(
"clu11_vs_clu0_1_2"
,
"clu11_vs_clu16_17"
)
for
(
i
in
comp
)
{
for
(
i
in
comp
)
{
degs
<-
get
(
paste
(
"degs"
,
i
,
sep
=
"_"
))
degs
<-
get
(
paste
(
"degs"
,
i
,
sep
=
"_"
))
...
...
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