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

Iog-scaling of counts data #4

Open
magnusrattray opened this issue Aug 21, 2024 · 0 comments
Open

Iog-scaling of counts data #4

magnusrattray opened this issue Aug 21, 2024 · 0 comments

Comments

@magnusrattray
Copy link

Hi,

In the synthetic benchmark experiments we noticed that the counts data are log-transformed (using sc.pp.log1p(adata)) before being rounded to the nearest integer and passed to the GPcounts method (and possibly same for other methods). GPcounts works better if passed the actual counts. The log transformation leads to an unusual counts distribution, e.g. for a non-spatially variable gene the data can have lower variance than a Poisson distribution (under-dispersed) which would never happen in real data. This may affect other packages that use counts. My student has a pull request fixing the issue.

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