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

recalculate stats and another filtering step #769

Merged
merged 4 commits into from
May 29, 2024
Merged

Conversation

jashapiro
Copy link
Member

Closes #768

To avoid the negative size factors after filtering (which it turns out had been there for a while), I added a step where we recalculate the per-cell stats and re-filter. It turns out that removing some of the lowly expressed genes created cells with very low total UMI counts remaining, which affected the results. The total number of cells affected was only about 5, but I think it is a nice illustration of some of the unexpected effects of filtering!

@jashapiro jashapiro requested a review from sjspielman May 29, 2024 17:14
Copy link
Member

@sjspielman sjspielman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving under the assumption you accept your own suggestion

@jashapiro jashapiro merged commit c83a006 into master May 29, 2024
2 checks passed
@jashapiro jashapiro deleted the jashapiro/refilter branch May 29, 2024 19:49
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

Successfully merging this pull request may close these issues.

Negative size factors in 04-dimension_reduction_scRNA.Rmd
2 participants