prepare_rnk {SCdeconR}R Documentation

Prepare .rnk file for GSEA preranked analysis

Description

Prepare .rnk file for GSEA preranked analysis

Usage

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.

Value

No return value


[Package SCdeconR version 1.0.0 Index]