Skip to content

Invalid p-values #3

Description

@carissaynchen

Hello,

I run into this issue with my dataset during normalisation using som.norm()

/home/ubuntu/anaconda3/envs/somde/lib/python3.8/site-packages/pandas/core/internals/blocks.py:402: RuntimeWarning: invalid value encountered in log result = func(self.values, **kwargs)

and later there is an error related to invalid p-values
Traceback (most recent call last): File "Simulations_somde.py", line 57, in <module> result, SVnum = som.run() File "/home/ubuntu/.local/lib/python3.8/site-packages/somde/som.py", line 115, in run result = self.Sparun(X, self.nres) File "/home/ubuntu/.local/lib/python3.8/site-packages/somde/som.py", line 106, in Sparun mll_results['qval'] = qvalue(mll_results['pval']) File "/home/ubuntu/.local/lib/python3.8/site-packages/somde/util.py", line 107, in qvalue assert(pv.min() >= 0 and pv.max() <= 1), "p-values should be between 0 and 1" AssertionError: p-values should be between 0 and 1

is there an explanation as to what could be the cause of this error?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions