calculateBindingCharacteristics: Get binding characteristics

Description Usage Arguments Details Value Examples

View source: R/spp.R

Description

Get binding characteristics from cross-correlation profile using the spp package.

Usage

1
2
calculateBindingCharacteristics(IP, input, read.len = NULL,
  min.shift = -500, max.shift = 1500, bin.size = 5, cluster = NULL)

Arguments

IP

File name/GAlignments object/spp tags of IP sample.

input

File name/GAlignments object/spp tags of input sample.

read.len

Read length. If NULL, the read length is detected automatically by using the median of the first 10,000 reads in the first ChIP sample.

min.shift

Minimum shift range.

max.shift

Maximum shift range.

bin.size

Bin tags within the specified number of basepairs to speed up calculation.

cluster

A snow cluster: cluster <- snow::makeCluster(cores).

Details

Types of analysis:

Value

A list with the ChIP data, the input data and the binding characteristics.

Examples

1
2
3
# call SPP to get the binding characteristics and plot it using phantomPeak()
bc <- calculateBindingCharacteristics("IP.bam", "input.bam", read.len=51)
pp <- phantomPeak(bc$chip.data, bc$input.data, bc$bc)

imbforge/encodeChIPqc documentation built on May 18, 2019, 4:45 a.m.