7 DKO chimera processing
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
## initializing scdb to scrna_db/
7.0.0.2 Merge cells with the wildtype atlas
source("scripts/pipeline/remove_exe_ectoderm_and_parietal_endo_cls.R")
source("scripts/pipeline/merge_umi_mat_with_wt10_umi_mat.R")
for (mat_nm in c("dko12_chim", "dko13_chim", "dko23_chim")) {
print(mat_nm)
mat <- scdb_mat(mat_nm)
mat <- remove_exe_ectoderm_and_parietal_endoderm(mat_query = mat)
mat_new <- merge_umi_mat_with_wt10(scmat = mat)
scdb_add_mat(id = paste0(mat_nm, "_wt10"), mat = mat_new)
}
## [1] "dko12_chim"
## [1] "dko13_chim"
## [1] "dko23_chim"
7.0.0.3 Generate single-cell balanced kNN-graph
This step needs the file
data/tet_tko.bad_genes.txt
## initializing scdb to scrna_db/
## [1] TRUE
## [1] TRUE
## [1] TRUE