Running reactomeGSA on multiple resolution cluster separately #42
-
Hi Thank you for helping me running reactomeGSA for pathway analysis. I need lil help in understanding this. The seurat-result.rds file I am using is having multiple resolution cluster information. my seurat@metadata look like this <style> </style>
how can I used this seurat cluster file for running reactomeGSA on each single resolution one by one. So far when I try to set the indents as Idents(object = data) <- "SCT_snn_res.0.8" and then running gsva_result <- analyse_sc_clusters(seuset, verbose = TRUE) Could you pls guide me in running the reactomeGSA for each resolution cluster separately? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Dear @Ankita-1211 , You can find detailed instructions on how to work with Your code sets the identification of all cells to "SCT_snn_res.0.8" (the actual string). What you rather want is setting it to the clustering results using Idents(object = data) <- data$`SCT_snn_res.0.8` That way, the values of the Kind regards, |
Beta Was this translation helpful? Give feedback.
Dear @Ankita-1211 ,
You can find detailed instructions on how to work with
Seurat
objects in theSeurat
documentation.Your code sets the identification of all cells to "SCT_snn_res.0.8" (the actual string).
What you rather want is setting it to the clustering results using
That way, the values of the
SCT_snn_res.0.8
slot are used as the cell identifiers.Kind regards,
Johannes