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

Error normalizing Anndata #103

Open
Mari123i opened this issue Aug 9, 2022 · 0 comments
Open

Error normalizing Anndata #103

Mari123i opened this issue Aug 9, 2022 · 0 comments

Comments

@Mari123i
Copy link

Mari123i commented Aug 9, 2022

Dear MarioniLab-Team,

I want to normalize some anndata single-cell object. I filter genes with less than 10 cells before using scanpy and the call the
"normalize" function of the folloeing code:

https://github.com/theislab/scib/blob/main/scib/preprocessing.py

For some of the matricies it works completely fine but for others I get the following error:

RRuntimeError: Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'object' in selecting a method for function 'sizeFactors': error in evaluating the argument 'x' in selecting a method for function 'assay': cannot coerce class "integer" to a DataFrame

The matricies are sparse and of dtype float32.

Maybe you could help me with this issue.

Greeting

Mariam

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

1 participant