scProportionTest icon indicating copy to clipboard operation
scProportionTest copied to clipboard

How is fold difference calculated?

Open laijen000 opened this issue 1 year ago • 1 comments

Hello,

Thank you for this tool! For the R version, I was wondering if fold difference is "sample 2 / sample 1" or "sample 1/ sample 2"?

Thank you

laijen000 avatar Jan 28 '24 16:01 laijen000

The comparison is $log_{2}(\text{Sample 2}) - log_{2}(\text{Sample 1})$.

Bob

rpolicastro avatar Jan 30 '24 17:01 rpolicastro