broadinstitute / infercnv

Inferring CNV from Single-Cell RNA-Seq
Other
557 stars 164 forks source link

Result only having Obsevation plot and not Reference plot #465

Open Cristinacondel1 opened 1 year ago

Cristinacondel1 commented 1 year ago

Hi,

I have run successfully inferCNV on my data but the output image infercnv.png is only showing the observation heat map and not the reference ("normal") heat map. My division of cells consists only on Normal and Tumor groups. I was wondering what could be the reason for this.

#

Screenshot 2022-10-07 at 10 25 01
GeorgescuC commented 1 year ago

Hi @Cristinacondel1 ,

When you run the CreateInfercnvObject method, you provide as inputs:

If no annotation is provided as ref_group_names, all cells are considered observations and the average of the whole dataset is used as baseline expression. There will be no reference plot in that case. Based on the figure's legend however, it seems like there are no cells defined as "Normal" in the annotations file. Is that the case?

Regards, Christophe.