plot_combn_gene_residuals: Plot guide-level residuals for a given gene.

View source: R/plot.R

plot_combn_gene_residualsR Documentation

Plot guide-level residuals for a given gene.

Description

Plots guide-level residuals for a given gene pair and returns the plot. Works for data returned from call_combn_hits.

Usage

plot_combn_gene_residuals(scores, residuals, gene1, gene2, condition_name)

Arguments

scores

Dataframe of scores returned from call_combn_hits.

residuals

Residuals returned with the return_residuals argument set to true from call_combn_hits.

gene1

First gene name for guides to plot.

gene2

Second gene name for guides to plot.

condition_name

Name of condition passed to call_combn_hits.

Value

A ggplot object.


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