Entering edit mode
I see that estimateSizeFactors
offers several options for determining the size factor.
Some of them are meant to deal with the case where every gene contains a sample with a zero.
I was wondering if the following would be a bad alternative to compute the pseudo-sample:
- Add a pseudo-count of 1 everywhere.
- Compute the geometric mean.
- Substract 1.
Would this way of doing have bad properties?
Thanks for your quick reply.
About "poscounts", I read the following in the help:
The "poscounts" estimator deals with a gene with
some zeros, by calculating a modified geometric mean by
taking the n-th root of the product of the non-zero counts.
Do I understand correctly that poscounts amounts to using a pseudo-count of 1 only for some genes, and only for the samples that have 0 for this gene (and not substracting 1 after computing the geometric mean)?
Yes