-
Notifications
You must be signed in to change notification settings - Fork 26
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
A quick question about application of liner mixed model method to detect degs #41
Comments
It's hard to know exactly what you mean? Is there an actual bug in Libra for this? |
Hi, I am not sure if it is a bug or the problem of my user case. I intend to identify differential expressed genes for diseases, and I plan to use mixed model. But the result is very strange. My codes are like: ` meta$cell_type = "Female" meta[meta$gender == "HC_Female",]$cell_type = "Female" de = run_de(expr, meta = meta, de_family = 'mixedmodel', de_method = 'negbinom') head(de) |
I don't understand why you would make cell type gender. Do you not have cell types? |
I have cell types but I intend to find gender-specific differental expressed genes for diseases. Is it clear? So I think the cell type here represents my gender labels. Thanks. |
This would require a more complex design, but does not sound like a bug in libra. |
Emm I think my current idea fits my target well. Besides, I think there is a bug in mixed model like: A tibble: 6 × 8cell_type gene avg_logFC p_val p_val_adj de_family de_method de_type This is the output of mixedmodel method. Even if I have selected de_family as mixedmodel, its output still contained pseudobulk. I think it is abnormal. |
This bug has been fixed. |
Hi, I intend to detect differential expressed genes for female people with diseases, so I change cell type into male/female and choose to assign conditions as diseases/health. Is it correct? I found that my current genes are in large divergence comparing with genes from Wilcoxon. Thanks a lot.
The text was updated successfully, but these errors were encountered: