Skip to content
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

Including Bad Cells in Model #35

Closed
kanefos opened this issue Jun 15, 2021 · 2 comments
Closed

Including Bad Cells in Model #35

kanefos opened this issue Jun 15, 2021 · 2 comments

Comments

@kanefos
Copy link

kanefos commented Jun 15, 2021

Hi there,

I'm greatly appreciative of the way scCODA models changes in whole-sample composition versus univariate cell counts.

This in mind, if I am working with a dataset with a prevalence of stress (say, 5-10% of the cells in every sample fail QC), should I include these cells in final compositional abundance testing? Seeing as they are part of overall sample composition. I do know that stress was unfortunately more prevalent in one condition. And yes, I know avoiding this initially would have been much more preferable but here we are.

Thanks!
Kane

@mbuttner
Copy link
Contributor

Hi Kane,

thank you for your positive feedback!
That's an interesting question! I have been working on a similar setting, where cells in one condition tend to be more stressed. I would think that if the stressed cells are distributed equally across cell types, it is safe to exclude them from the compositional analysis as they should not affect the overall composition in the stressed condition. On the other hand, if you observe that a certain cell type is predominantly affected by your stress condition, I would consider this as a biologically relevant effect, which contributes to the change in cell type composition and should be considered in the analysis.

Best,
Maren

@kanefos
Copy link
Author

kanefos commented Jun 16, 2021

Hi Maren,

Thanks for the useful reply! I'm also of the opinion that stress should be randomly distributed across a dataset (even if samples are composed of mixed cell types, i.e. lyphoid/myeloid, I don't think it's too large an assumption).

My only follow-up query would be regarding where, by chance, a cell type present to a great extent in condition which had more stress, such as a different protocol in the control, is therefore more adversely affected by QC. I will run both and if come up with anything interesting will share.

Thanks again!

@kanefos kanefos closed this as completed Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants