Introduce more variation measures

This commit is contained in:
Elias Projahn 2022-09-25 19:02:13 +02:00
parent 2eec3285f9
commit 76f81ab6a7
3 changed files with 22 additions and 3 deletions

View file

@ -10,8 +10,8 @@ genes <- fread(here("scripts", "input", "genes.csv"))
data <- fread(here("scripts", "output", "results.csv"))
data[, score := 0.5 * above_95 +
0.25 * mean_expression_normalized +
-0.25 * sd_expression_normalized]
0.25 * median_expression_normalized +
-0.25 * qcv_expression_normalized]
# Normalize scores to be between 0.0 and 1.0.
data[, score := (score - min(score, na.rm = TRUE)) /