filter-MBias-method: Filter MBias

Description Usage Arguments Value

Description

For each sample, this identifies all read-positions with a normalise M-bias greater than the threshold.

Usage

1
2
3
## S4 method for signature 'MBias'
filter(object, threshold = 3, methylationType = c("CG",
  "CHG", "CHG"))

Arguments

object

An MBiase object.

threshold

The threshold at which to filter.

methylationType

The type of methylation to filter.

Value

A data.table with the sample name (sampleName), read (R1 for read-1 and R2 for read-2), methylation type (methylationType) and positions to filter out (irp = ignore read positions). The value in the irp column is designed so that it can be copy-pasted as an argument to methtuple.


PeteHaitch/MethylationTuples documentation built on May 8, 2019, 1:30 a.m.