plotFootprint: A function to plot footprint of paired-end data at given loci

Description Usage Arguments Value Examples

View source: R/footprint.R

Description

This function takes paired-end fragments, extract the "cuts" (i.e. extremities) and plot the footprint profile over a set of GRanges.

Usage

1
2
3
4
5
6
7
8
9
plotFootprint(
  frags,
  targets,
  split_strand = FALSE,
  plot_central = TRUE,
  xlim = c(-75, 75),
  bin = 1,
  verbose = 1
)

Arguments

frags

GRanges, the paired-end fragments

targets

GRanges, the loci to map the fragments onto

split_strand

Boolean, should the + and - strand be splitted?

plot_central

plot grey rectangle over the loci

xlim

numeric vector of length 2, the x limits of the computed Vmat

bin

Integer, bin used to smooth the gootprint profile

verbose

Integer

Value

A footprint ggplot

Examples

1
2
3

VplotR documentation built on Nov. 8, 2020, 7:50 p.m.