allele_effect_plot: Plots estimated effect sizes and confidence intervals for top...

View source: R/plots.R

allele_effect_plotR Documentation

Plots estimated effect sizes and confidence intervals for top alleles from a alignment analysis.

Description

Plots estimated effect sizes and confidence intervals for top alleles from a alignment analysis.

Usage

allele_effect_plot(
  alignment_result,
  viewing_window = 40,
  max_alleles = 40,
  min_read_count = 10,
  highlight_top_dels = TRUE,
  highlight_dels_in_window = TRUE
)

Arguments

alignment_result

Result from a call to alignment_analysis.

viewing_window

Window on either size of the CRISPR cut site to show in the plot.

max_alleles

The maximum number of alleles to show in the plot.

highlight_top_dels

Whether to highlight top deletion alleles in the plot.

highlight_dels_in_window

Whether to highlight all deletions that are in the 'deletion window'.

Value

Returns a ggplot object plotting effect sizes and confidence intervals for top alleles from a alignment analysis. Top alleles are in decreasing order of their total read count in gDNA across replicates. Selected deletions are

See Also

alignment_analysis

Examples

# Note: First run alignment_analysis()
# mul1_alignment_results is a pre-loaded result

allele_effect_plot(mul1_alignment_results[[1]])

Jeremy37/rgenie documentation built on Sept. 22, 2023, 10:17 a.m.