Coolgenome / iTALK

57 stars 22 forks source link

rawParse Error: Error in `colnames<-`(`*tmp*`, value = c("gene", "exprs", "cell_type")) : attempt to set 'colnames' on an object with less than two dimensions #14

Open oh111 opened 4 years ago

oh111 commented 4 years ago

Hi-- I am trying to use iTALK for my dataset that is in the form of a matrix where gene_names are column headers and individual cells are the row titles.

When I use: _highly_exprs_genes<-rawParse(sseq.data,topgenes=50,stats='mean') I get the error: _Error in colnames<-(*tmp*, value = c("gene", "exprs", "celltype")) : attempt to set 'colnames' on an object with less than two dimensions

Can you please tell me why I am getting this error?

mcap91 commented 3 years ago

there needs to be a column named "cell_type" in your sseq.data dataframe with the cell type info

nurungji82 commented 2 years ago

I am at the same issue. I definitely have 'cell_type' in my Seurat object, but the error is still shown up. Could anyone let me a solution?