Description Usage Arguments Value
Assigns a probability of an observed difference between conditions as function of the differences observed between the controls.
1 | score_delta(df, probe, ctrl, delta, minTpm = 0, minSamples = 10)
|
df |
data.frame containing the differences. |
probe |
Unquoted name of the biomarker column (e.g. transcript). |
ctrl |
Unquoted name of the expression in the control condition column (e.g. tpmCtrl). |
delta |
Unquoted name of the actual difference between conditions column (e.g. dPSI). |
minTpm |
Minimum TPM to consider a transcript/gene expressed. |
minSamples |
Minimum number of samples to consider the differences informative. If the number of samples with a valid value (i.e. >= minTpm) is < minSamples, NAs will be returned. |
A copy of df with an extra column p
indicating the probability
of the difference.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.