Closed ChristinaSchmidt1 closed 1 year ago
So I have read some other packages guidlines and I decided that for the time being it is the best option to do something similar as DESeq2 did in their guidelines (Note on p-values set to NA: https://bioconductor.org/packages/release/bioc/vignettes/DESeq2/inst/doc/DESeq2.html#pvaluesNA).
In detail I will implement a checking process that will print out messages/warnings:
FYI: at the moment both in core and intra, we will have NA for the values if one of the two conditions are 0.
Ok I have implemented this. Basically if the user inputs a DF with NA or 0 values, both will be treated the same:
Here are some examples of how this will look like:
Line 83
add +1 count to the metabolites with 0 because otherwise the Log2FC with NAs
I dont think thats a good idea. If this happens, we should probably add the smallest possible numeric value here 0.1E-118. But let me think if thats the best way.