Closed shaniAmare closed 8 months ago
Hi Shani,
Thanks for reporting this. From what I know so far, a negative value given to functions like sqrt()
or log()
causes an NaN
. So back to the specific step as shown in your warning message. I would need some exploration in order to debug it.
gene_expr_mean
is a vector of mean values for each row of the obj@norm.data[[i]]
. Can you check if any negative values came from here? e.g. any(rowMeans(obj@norm.data[[1]]) < 0)
, where 1
is for your first dataset and you might want to do this to all datasets there. nolan_constant
is calculated from obj@raw.data[[i]]
, and is impossible to be negative unless the raw data is not a non-negative raw count matrix. Can you confirm about this?If these are not the case, I'll need some more investigation then.
Best, Yichen
Hi team,
I have been using
rliger
for all my integrations. But the recent attempt I made with the latest github version is giving me this warning during theselectGenes()
function.I don't know whether this can cause downstream issues. Only wanted to let you know that this behaviour was not present in the previous versions.
Many thanks, Shani.