zji90/TSCAN

dim(procdata) comes out 0

yueli8 opened this issue · 1 comments

Hello,

Thank you for developing so nice software.

The result of dim(procdata) outs out 0. I can not go to the next step.

Thank you in advance for your great help!

Best,

Yue

>seurat <- readRDS(file="hms_cluster_id_test.rds")
>DimPlot(seurat, label = T) + NoLegend()
>table(Idents(seurat))
Memory CD4+ T Natural Killer         CD8+ T   Naive CD4+ T              B      Astrocyte Dendritic Cell 
          7769           3949           3493           3357           1780            688            948 
>data <- GetAssayData(seurat, assay = 'RNA', slot = 'counts')
>a<-as.matrix(data)
>procdata <- preprocess(a)
>dim(procdata)
[1]     0 21984
zji90 commented

Hi,

I recommend not using preprocess() function and directly go with the remaining steps.