Skip to content

Cannot derive sufficient number of differentially expressed genes for reference #17

Description

@kokonech

Hi, I'm working on published neurobalstoma single cell dataset (10X v2). There are the following cell type counts:

Tumor cells      Immune cells Mesenchymal cells       Liver cells  Endothelial cells     Schwann cells
            59560              2407              1297               669.           559               277

Afterwards running DEG calling and conversion leads to exteremely small amount of DEGs (only 17), despite initial high numbers and relaxing filtering limits, leading to incorrect deconvolution results on WGBS /array data e.g. zero proprotion of tumor in control samples with single cell data. Is there some way to fix this/adjust with params? Below main code with comments:

targ.idx = as.factor(nbObj$annotation)
levels(targ.idx) = 1:6
alltypes= levels(as.factor(nbObj$annotation))
expref.o <- ConstExpRef(nbObj@assays$RNA@data,targ.idx,alltypes,markspecTH=rep(1,6)) 
# this count has nrow=163, even though initial DEGs minimum per cell type before filtering is 3349, maximum 13740
expref.m <- expref.o$ref$med 
tscm2.m <- ImputeDNAmRef(expref.m,db="SCM2",geneID="SYMBOL") 
trmap.m <- ImputeDNAmRef(expref.m,db="RMAP",geneID="SYMBOL")
# this is only 23, moreover multiple NA in final matrix
tref.m <- ConstMergedDNAmRef(tscm2.m,trmap.m) 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions