Skip to content

Retain all genes in the reference

Shao, Xin edited this page Oct 26, 2022 · 1 revision

When the genes are different between ST data and scRNA-seq reference data.

[1] Retain the overlapped genes in dec_celltype()

obj <- dec_celltype(obj, sc_data, sc_celltype, if_retain_other_genes = F) # default

[2] Retain all genes in the reference by setting if_retain_other_genes = T

obj <- dec_celltype(obj, sc_data, sc_celltype, if_retain_other_genes = T) # default

In this condition, the genes in reconstructed single-cell ST data are consistent with that in sc_data