aligned_read_profile_plots: Returns a plot showing the aligned read profile of HDR and WT...

View source: R/plots.R

aligned_read_profile_plotsR Documentation

Returns a plot showing the aligned read profile of HDR and WT reads covering the highlight_site, and optionally additional plots for top individual deletions.

Description

Returns a plot showing the aligned read profile of HDR and WT reads covering the highlight_site, and optionally additional plots for top individual deletions.

Usage

aligned_read_profile_plots(
  alignment_result,
  num_aligned_read_del_profiles = 3,
  viewing_window = 40
)

Arguments

alignment_result

Result from a call to alignment_analysis.

num_aligned_read_del_profiles

The number of additional plots to show for individual top deletion alleles.

viewing_window

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

Value

Returns a list with a ggplot object for each aligned read profile plot requested (1 for HDR allele + num_aligned_read_del_profiles)

See Also

alignment_analysis

Examples

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

#aligned_read_profile_plots(ctcf_alignment_results[[1]])

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