Commit 02edfd69 authored by domingue's avatar domingue
Browse files

Bug fix: results were not the same compared to version without contrasts

- ranks were taken from log2fc instead of rank_score

Fixes #96
parent 10c2d0fc
......@@ -224,7 +224,7 @@ df_to_named_vec <- function(df, values_col, names_col){
ranks_l <- gsea_dat %>%
setDT() %>%
split(by = "contrast") %>%
map(df_to_named_vec, values_col = "logfc", names_col = "ENTREZID")
map(df_to_named_vec, values_col = "rank_score", names_col = "ENTREZID")
# length(ranks)
# length(unique(ranks))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment