compress-BindScore {ChIPseqR} | R Documentation

## Compress BindScore Objects

### Description

Generates a compressed representation of binding site scores.

### Usage

    ## S4 method for signature 'BindScore'
    compress(x, digits=16)

### Arguments

`x` | An object of class `BindScore`.
`digits` | Integer indicating the number of decimal places to retain.

### Details

Binding site scores are compressed by first rounding them to `digits` decimal places and then applying run-length encoding.

### Value

An object of class `RLEBindScore`.

### Note

Compression reduces the precision of binding site scores and may affect results, especially for small values of `digits`.

### Author(s)

Peter Humburg

### See Also

`Rle`, `RleList`, `compress-BindScore`

[Package ChIPseqR version 1.41.0 Index]