perf_stats_deg: perf_stats_deg

Description Usage Arguments Value

View source: R/perf_stats_deg.R

Description

Extracts performance stats for differential expression calls made by delboy and DESeq2.

Usage

1
perf_stats_deg(delboy_res, deseq2_res, lfc_samp, padj_cutoff = 0.1)

Arguments

delboy_res

An object of class delboy_elnet as produced by delboy::run_elnet_logistic_reg.

deseq2_res

The output from delboy::run_deseq2.

lfc_samp

A named vector of logFC values where the names are gene names. These are the true positives with their associated logFC values. All other genes are true negatives.

padj_cutoff

A numeric value between 0 and 1 indicating the adjusted p-value cutoff to use for DESeq2 hits. Defaults to 0.1.

Value

A data frame of sensitivity and precision estimates.


alextkalinka/delboy documentation built on Feb. 2, 2022, 4:19 p.m.