plot_coverage: Plots the coverage over a region of interest

Description Usage Arguments Value

View source: R/plot_coverage.R

Description

plot_coverage

Usage

1
2
plot_coverage(coverage_case, coverage_ctrl = NULL,
  region_to_plot = NULL, binwidth = 50)

Arguments

coverage_case

Either bw path(s) or dataframe containing coverage returned from get_coverage

coverage_ctrl

Either bw path(s) or dataframe containing coverage returned from get_coverage

region_to_plot

gr. A genomic range of length 1 used to grab coverage (required if coverage is a bw_path) and to determine the xlimits to plot. If NULL, will use take the min and the max position from the coverage from case (and ctrls).

binwidth

int.

Value

tibble with the columns detailing chromosome, position 1 for every base in region_of_interest and normalised coverage


dzhang32/RNAdiagnosR documentation built on Dec. 5, 2019, 2 a.m.