Dear all,
Does anyone know how these codes in the demo (https://github.com/akdess/CaSpER/blob/master/demo/sCellGBM.R) show the patient ids (not cell ids) as it shows in Nature communication paper (https://www.nature.com/articles/s41467-019-13779-x#MOESM1)?
In the demo
## plot median filtered gene expression matrix
plotHeatmap(object, fileName="heatmap.png", cnv.scale= 3, cluster_cols = F, cluster_rows = T, show_rownames = T, only_soi = T)
How did this plot out as the color codes represent the patient id?

In the demo
## plot large scale events using event summary matrix 1: amplification, -1:deletion, 0: neutral
plotLargeScaleEvent2 (finalChrMat, fileName="large.scale.events.summarized.pdf")
How did this also plot out as the color codes represent the patient id?

In my case following the demo codes it only shows all cell ids:(

Hope anyone can figure it out.
Thank you for any help in advance!
Best