mask_methrix {methrix} | R Documentation

## Masks too high or too low coverage

### Description

Masks too high or too low coverage

### Usage

    mask_methrix(m, low_count = NULL, high_quantile = 0.99)

### Arguments

`m` | `methrix` object
`low_count` | The minimal coverage allowed. Everything below, will get masked. Default = NULL, nothing gets masked.
`high_quantile` | The quantile limit of coverage. Quantiles are calculated for each sample and everything that belongs to a higher quantile than the defined will be masked. Default = 0.99.

### Details

Takes `methrix` object and masks sites with too high or too low coverage by putting NA for coverage and beta value. The sites will remain in the object.

### Value

An object of class `methrix`

### Examples

    data('methrix_data')
    mask_methrix(m = methrix_data, low_count = 5, high_quantile = 0.99 )

[Package methrix version 1.0.05 Index]