Open EAC-T opened 3 years ago
Having the same issue.
try this:
data<-data.frame(SEURATOBJECT@assays$RNA@data) data<-t(data) data<-as.data.frame(data) cell_types<-SEURATOBJECT@active.ident #or wherever you have your cell names data$cell_type=cell_types
Hi, I have a SEURAT object that I clustered into 7 clusters, for the highly_exprs_genes<-rawParse(Tcells_6,top_genes=50,stats='mean')
I'm getting an error: Error in
[.Seurat
(data, data$cell_type == i, ) : Incorrect number of logical values provided to subset featuresThe cell_type column contains numbers from 0 to 6 representing each cluster.
Thank you