Error: Only one identification found: 'RNA_snn_res.0.6 #35
-
Hi I am trying to run reactomeGSA for scRNA seurat result but I am getting this error. Error: Only one identification found: 'RNA_snn_res.0.6'. Please ensure that cell / cluster ids are stored as the primary identification (Ident) of your Seurat object. Clustering has to be performed prior to this pathway analysis. I know its something related to seurat pipeline, but I have less understanding of this error. I got another error as well when I just not used this param for my seurat run Idents(seuset) <- "RNA_snn_res.0.6" In ReactomeGSA::perform_reactome_analysis(request, verbose = verbose) : |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @Ankita-1211, Thanks a lot for your interest in ReactomeGSA! You need to store your cluster assignments / cell type assignments as the primary We had a more detailed discussion about this here: #30 About the identifiers: Which identifier system did you use in your alignment? You can quickly get an example of your identifiers by running: head(rownames(your_seurat_object)) Kind regards, |
Beta Was this translation helpful? Give feedback.
-
Hi @Ankita-1211, The issue is caused by the way the alignment was done.
This can easily be fixed using the following command: # Remove any trailing .[Number] from the identifiers
rownames(your_seurat_object) <- gsub("\\.[0-9]*$", "", rownames(your_seurat_object))
Kind regards, |
Beta Was this translation helpful? Give feedback.
Hi @Ankita-1211,
The issue is caused by the way the alignment was done.
This can easily be fixed using the following command:
Kind regards,
Johannes