getBindCor {ChIPseqR} | R Documentation

## Calculate cross-correlation between read counts

### Description

This function calculates the cross-correlation between read counts on forward and reverse strand.

### Usage

    getBindCor(data, max.lag, summary, plot = TRUE, ...)

### Arguments

`data` | An object of class `ReadCounts`
`max.lag` | Maximum lag to use in cross-correlation calculation.
`summary` | Function to use to summarise cross-correlation across chromosomes.
`plot` | Logical indicating whether to plot cross-correlation.
`...` | Further arguments, currently ignored.

### Details

Function `fttcor` in package “timsac” is used to carry out the computation.

### Value

The (summarised) cross-correlation. If `summary` is missing a list of cross-correlations for each chromosome is returned.

### Author(s)

Peter Humburg

### See Also

`fftcor`, `ReadCounts`, `getBindLen`

[Package ChIPseqR version 1.46.0 Index]