Skip to contents

Bias corrected footprint of one motif

Usage

plotAccMotifFootprint(
  motif,
  tf_bindsites,
  ins,
  sample_name = NULL,
  gc_dist,
  gcfreqs,
  enhancer = NULL,
  ignoreStrand = TRUE,
  method = "division",
  flankNorm = 50,
  smooth = 5L,
  plotWindow = 200L
)

Arguments

motif

Motif name.

tf_bindsites

A GRangesList of binding site positions.

ins

A GRanges of insertion sites.

sample_name

Optional sample label.

gc_dist

A GRanges of the genome wide GC distribution.

gcfreqs

A list of GC bin frequency tables.

enhancer

Optional GRanges restricting the sites.

ignoreStrand

If TRUE, strand information is ignored.

method

Either "substraction" or "division".

flankNorm

Width of the flanking window used for normalisation.

smooth

Width of the running mean applied to the profiles.

plotWindow

Half width of the plotted window.

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
plotAccMotifFootprint("CTCF", tf_bindsites, ins,
    gc_dist = gc_dist, gcfreqs = gcfreqs)
} # }