Skip to content

Commit 5549840

Browse files
authored
Update README with fold-change explanation
Clarified the definition of fold-change and its computation in illico.
1 parent 07055a9 commit 5549840

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Please open an issue, but before that: make sure that you are running **asymptot
8484
The test suite implemented in the CI and used to develop `illico` targets a precision of 1.e-12 compared to `scipy`, not `scanpy`. Consequently, there **will be** slight disagreement between `scanpy`'s p-values and `illico`'s p-values.
8585

8686
#### Fold-change
87-
The fold-change computed by illico is the most naive form of the fold-change:
88-
$$\text{fold-change} = \frac{E[X_{\text{perturbed}}]}{E[X_{\text{control}}]}$$
87+
The fold-change computed by illico is the most naive form of the fold-change:
88+
$$\text{fold-change} = \frac{E[X_{\text{perturbed}}]}{E[X_{\text{control}}]}$$
8989
If your data underwent log1p transform, `np.expm1` is applied **before** computing the expectations (means). I know many definitions exist, and adding more control over this should not be complicated. If this is your case, please open an issue.
9090

9191
### What about normalization and log1p

0 commit comments

Comments
 (0)