iTALK
iTALK copied to clipboard
rawParse Error: Error in `colnames<-`(`*tmp*`, value = c("gene", "exprs", "cell_type")) : attempt to set 'colnames' on an object with less than two dimensions
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,top_genes=50,stats='mean')
I get the error:
Error in colnames<-
(*tmp*
, value = c("gene", "exprs", "cell_type")) :
attempt to set 'colnames' on an object with less than two dimensions
Can you please tell me why I am getting this error?
there needs to be a column named "cell_type" in your sseq.data dataframe with the cell type info
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?