Prepare .rnk file for GSEA preranked analysis

prepare_rnk(teststats, outputfile, replace = FALSE)

Arguments

teststats

a data.frame containing differential expression results with five columns: "Gene name", "log2 fold change", "log2 average expression", "p value", "adjusted p value". The second element of the output from function run_de.

outputfile

full path including file name to .rnk file.

replace

a logical value indicating whether to replace the output file if it already exists. Default to FALSE.