Skip to contents

Bias corrected deviation of one motif

Usage

computeAccDeviation(
  motif,
  ins,
  tf_bindsites,
  gcfreqs,
  binIns,
  enhancer = NULL,
  ignoreStrand = TRUE
)

Arguments

motif

Motif name.

ins

A GRanges of insertion sites.

tf_bindsites

A GRangesList of binding site positions.

gcfreqs

A list of GC bin frequency tables.

binIns

GC bin densities of the sample.

enhancer

Optional GRanges restricting the sites.

ignoreStrand

If TRUE, strand information is ignored.

Value

A data.table with the deviation and the expected deviation.

Examples

if (FALSE) { # \dontrun{
computeAccDeviation("CTCF", ins, tf_bindsites, gcfreqs, binIns)
} # }