Open vincentrose88 opened 2 years ago
Are you using a seurat object as input or directly a count/normalized matrix? If a Seurat object, can you check the default assay?
Are you using a seurat object as input or directly a count/normalized matrix? If a Seurat object, can you check the default assay?
Yes I'm using a Seurat object and the default assay is "integrated"
> DefaultAssay(seurat_obj)
[1] "integrated"
You will want to switch that back to "RNA" or directly input the count matrix.
DefaultAssay(obj) = "RNA"
Then run Augur.
To answer your question about the experimental design. Yes, you can compare the AUCs themselves.
You may want to consider using differential prioritization for this case also. You can see our protocol: https://www.nature.com/articles/s41596-021-00561-x for more details (specifically Case Study #4).
You will want to switch that back to "RNA" or directly input the count matrix.
DefaultAssay(obj) = "RNA"
Then run Augur.
To answer your question about the experimental design. Yes, you can compare the AUCs themselves.
You may want to consider using differential prioritization for this case also. You can see our protocol: https://www.nature.com/articles/s41596-021-00561-x for more details (specifically Case Study #4).
Thanks!
I'll give that a try!
Using RNA as the default assay I get more sensible results (with num tree = 50):
annotation auc
1 Cell-type_A 0.6052060
2 Cell-type_B 0.5276417
3 Cell-type_C 0.5242139
4 Cell-type_D 0.5189135
5 Cell-type_E 0.5170862
6 Cell-type_F 0.5112566
7 Cell-type_G 0.5066270
8 Cell-type_H 0.4989002
Thanks for the help! You can consider this issue closed 👍
Thinking more about these results, I'm surprised that the AUC is so much higher when running on a Seurat integrated space than on RNA:
annotation auc
1 Cell-type_A 0.6052060
2 Cell-type_B 0.5276417
3 Cell-type_C 0.5242139
4 Cell-type_D 0.5189135
5 Cell-type_E 0.5170862
6 Cell-type_F 0.5112566
7 Cell-type_G 0.5066270
8 Cell-type_H 0.4989002
cell_type auc
<chr> <dbl>
1 Cell-type_A 0.991
2 Cell-type_B 0.976
3 Cell-type_C 0.974
4 Cell-type_D 0.957
5 Cell-type_E 0.957
6 Cell-type_F 0.953
7 Cell-type_G 0.946
8 Cell-type_H 0.935
9 Cell-type_I 0.931
Do you have any explanation for this?
Hi
Great work on the R-package Augur!
I'm using it to prioritise cell types response on treatment on a disease in two setups: 1x treatment and 5x treatment, and I have a couple of question on how to interpret and use the AUC results:
AUC comparison across experiments?
My question is: Can I compare the AUC across these experiments directly, or can I only use the rank?
For example: Does the Cell-type_A in G2 have a comparable response to Cell-type_A in G1, while Cell-type_I have a significantly bigger response in G2 than G1 in below results?
Results
The experimental groups and results are (anonymised due this being a clients data):
G1: 1x treatment + disease (case) VS 1x placebo + disease (control)
G2: 5x treatment + disease (case) VS 5x placebo + disease (control)
Number of trees affect on AUC
For the experiment group G2 (5x treatment vs 5x placebo), I only get useful results if I use a very low number of trees, as you suggest in your paper (Methods: Hyperparameter analysis)
My question is simply: Does it makes sense to have so few trees?
Results
(Only number of trees changes, all other options are default)
Num_tree = 50
Num_tree = 10
Num_tree = 5
Num_tree = 3
Num_tree = 2
Num_tree = 1
Looking forward to your feedback and thanks in advance!
Kind regard