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

Avoid filtering in normalization #208

Merged
merged 1 commit into from
May 13, 2022
Merged

Conversation

scottgigante
Copy link
Contributor

If cells are filtered in this stage, scran throws an error:
error in evaluating the argument 'object' in selecting a method for function 'sizeFactors': 'ncol(x)' is not equal to 'length(clusters)'

If cells are filtered in this stage, scran throws an error: 
`error in evaluating the argument 'object' in selecting a method for function 'sizeFactors': 'ncol(x)' is not equal to 'length(clusters)'`
@LuckyMD
Copy link
Collaborator

LuckyMD commented Jan 19, 2021

Default should be min_counts=1 if this is not kept you can't run total counts normalization as you'd be dividing by zero. I think the solution would be to ensure no 0 count cells are in the dataset. Can't normalize those anyway, no?

@mumichae
Copy link
Collaborator

Shall we set min_counts=1 then?

@mumichae mumichae merged commit 3178239 into theislab:main May 13, 2022
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.

3 participants