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

View source: R/plot.R

plot_condition_gene_residualsR Documentation

Plot guide-level residuals for a given gene.

Description

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

Usage

plot_condition_gene_residuals(
  scores,
  residuals,
  gene,
  control_name,
  condition_name
)

Arguments

scores

Dataframe of scores returned from call_condition_hits.

residuals

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

gene

Gene name for guides to plot.

control_name

Name of control passed to call_condition_hits.

condition_name

Name of condition passed to call_condition_hits.

Value

A ggplot object.


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