Skip to content

xcell2 returns scores greater than 1 #14

Description

@Rohit-Satyam

Just to confirm if I am correct about this, does the corrected scores returned by xCell2Analysis also ranges from 0 to 1 or it's just the raw scores (because I see Max. :1.337908 for SRR6055342)? Besides, since I am using useSpillover=FALSE, should I set rawScores=T and spillover=F?

subudhi.xCell2Ref <- xCell2Train(
  ref = subudhi2020,
  refType = "rnaseq",
  BPPARAM = parallel_param,useSpillover=FALSE,
  useOntology=FALSE
)
table(rownames(toenhake2018) %in% rownames(subudhi2020))

xcell2_results <- xCell2Analysis(
  mix = assay(toenhake2018),
  xcell2object = subudhi.xCell2Ref
)
summary(xcell2_results)
   SRR6055337       SRR6055338        SRR6055339        SRR6055340        SRR6055341        SRR6055342      
 Min.   :0.0000   Min.   :0.00000   Min.   :0.00000   Min.   :0.00000   Min.   :0.00000   Min.   :0.000000  
 1st Qu.:0.0000   1st Qu.:0.00000   1st Qu.:0.00000   1st Qu.:0.00000   1st Qu.:0.00000   1st Qu.:0.000000  
 Median :0.0000   Median :0.00000   Median :0.00000   Median :0.00000   Median :0.00000   Median :0.000000  
 Mean   :0.1201   Mean   :0.09939   Mean   :0.06838   Mean   :0.04287   Mean   :0.04196   Mean   :0.069027  
 3rd Qu.:0.2756   3rd Qu.:0.06468   3rd Qu.:0.04865   3rd Qu.:0.06950   3rd Qu.:0.02740   3rd Qu.:0.004636  
 Max.   :0.6844   Max.   :0.78182   Max.   :0.50924   Max.   :0.23478   Max.   :0.43142   Max.   :1.337908  
   SRR6055343          SRR6055344      
 Min.   :0.0000000   Min.   :0.000000  
 1st Qu.:0.0000000   1st Qu.:0.000000  
 Median :0.0000000   Median :0.000000  
 Mean   :0.0412126   Mean   :0.052271  
 3rd Qu.:0.0008971   3rd Qu.:0.001249  
 Max.   :0.4437633   Max.   :0.389725  

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