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

Zero expression error #1

Open
choyichen opened this issue Dec 18, 2016 · 2 comments
Open

Zero expression error #1

choyichen opened this issue Dec 18, 2016 · 2 comments

Comments

@choyichen
Copy link

It seems that when there are zero expression genes (expression values equal to zeros across all samples), pypanda will fail, e.g.,

numpy/lib/nanfunctions.py:1136: RuntimeWarning: Degrees of freedom <= 0 for slice.
  warnings.warn("Degrees of freedom <= 0 for slice.", RuntimeWarning)
step: 0, hamming: nan
running panda took: 106.649751902 seconds
Finished Panda run...
step: 0, hamming: nan
running panda took: 108.9292171 seconds
step: 0, hamming: nan
running panda took: 109.55636096 seconds
step: 0, hamming: nan
running panda took: 108.327214003 seconds
step: 0, hamming: nan
running panda took: 107.53530407 seconds
step: 0, hamming: nan
running panda took: 107.594507933 seconds
step: 0, hamming: nan
...

I think we should either pre-check or filter out those zeros genes.

@mararie
Copy link

mararie commented Dec 18, 2016 via email

@lovenicole
Copy link

Hi, I also encountered the same issue (hamming: nan).

image

Is this error message caused by the zero expression genes?

Further more, have you been able to implement it yet?

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

3 participants