saezlab/liana-py

Sanity check if liana uses the log normalised values

ahmetrifaioglu opened this issue · 1 comments

Is your feature request related to a problem? Please describe.

Users sometimes run liana on raw or differently normalized/transformed data or forgets to set use_raw=False which results in NaN or inf. values in logfc and specificity values. That would be nice to check the input values and warn users to check if they are using the log normalised values.

Describe the solution you'd like
A clear and concise description of what you want to happen. Examples from other methods are welcome.

Just a noticeable warning that so that users check if they are using the correct input.

Hi @ahmetrifaioglu, I will make sure to have it in the next update 😉