essential_lfc_qc: Computes essential gene recovery AUC.

View source: R/plot.R

essential_lfc_qcR Documentation

Computes essential gene recovery AUC.

Description

Computes area under the curve for ROC curves that measure how well each technical replicate recovers signal for essential-targeting guides. Only computes AUC for guides that target essential genes twice, guides that target two different essential genes, or guides that target an essential gene and an intergenic region.

Usage

essential_lfc_qc(df, screens, negative_controls = NULL)

Arguments

df

LFC dataframe.

screens

List of screens generated with add_screens.

negative_controls

List of negative control genes to append to default list of non-essential genes (default NULL).

Value

Returns a dataframe with three columns for replicate name, essential AUC relative to all other genes, and essential AUC relative to a specified set of non-essentials.


HenryWard/orthrus documentation built on June 2, 2023, 10:28 p.m.