subsample {chromstaR} | R Documentation

## Normalize read counts

### Description

Normalize read counts to a given read depth. Reads counts are randomly removed from the input to match the specified read depth.

### Usage

    subsample(binned.data, sample.reads)

### Arguments

`binned.data` | A `GRanges-class` object with meta data column 'reads' that contains the read count.
`sample.reads` | The number of reads that will be retained.

### Value

A `GRanges-class` object with downsampled read counts.

### Author(s)

Aaron Taudt

[Package chromstaR version 1.10.0 Index]