-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compass analysis from Seurat subcluster - get_reaction_consistencies issue #90
Comments
I also have the same issue where all the values are the same for a reaction in all cells. Any help would be appreciated. |
Did you use the same pipeline I used to obtain the expression.tsv file? Did you analyze your data using Seurat? What do you think? Francesco |
@france-hub had you gotten this to work. What is very confusing to me is that the example they provided appears to be for bulk rnaseq, for example genes as rows and sample as columns. However for 10x, literally every column is a cell. I could aggregate this for pseudobulk but it is not clear to me if this is the correct way to go? |
Hello @ahdee, I apologize for the late reply. No, I was not able to make it work. After multiple attempts I gave up. |
@france-hub I got it to work - what I ended up doing was downsampling to about 2K per sample. Let me know if you want me to show you how I did it. |
if you could share your code from your Seurat object, would be great! |
hello,which operating Systems was your compass installed on? linux? windows? Mac? @france-hub |
Linux |
Hello!
Thanks for your work and beautiful paper.
I have a question on how to better run Compass on my dataset (T cells). Basically, I have a scRNAseq dataset (10x) that has been analyzed (normalized, batch-corrected,...) following Seurat pipeline.
On a dataset subset (CD8+ T cells) I find interesting metabolic pathways by using GSEA and GSVA but I would like to confirm these findings by using compass.
Reading #20 the input for compass should be obtained using:
pbmc <- NormalizeData(pbmc, normalization.method = "RC", scale.factor = 10000)
and then
pbmc@assays$RNA@data
(genes x cells matrix) to build the expression.tsv file for your pipeline (right?).What's the best way to do it in my case? Should I (re)normalize my subset using this:
CD8 <- NormalizeData(CD8, normalization.method = "RC", scale.factor = 10000)
and then proceed?I am asking this because I have tried to run the pipeline as in your tutorial and I get a problem when running
reaction_consistencies = get_reaction_consistencies(reaction_penalties)
and started wondering if my initial expression.tsv input is "wrong".reaction_consistencies is an empty dataframe.
Looking at the reaction_penalties of your Th17 this is the head of the df:
This is instead what I get (same numbers for each cluster):
Then after running get_reaction_consistencies I get:
It's a micropooled analysis. Could you help me troubleshooting?
Thanks!
Francesco
The text was updated successfully, but these errors were encountered: