bscon: Calculate bisulphite conversion

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/bscon.R

Description

Uses control data from Infinium HumanMethylation450 BeadChip to calculate bisulfite conversion for each array

Usage

1
bscon(x, ...)  # S4 methods exist for RGChannelSet and MethyLumiset objects

Arguments

x

IDAT or report files containing 450k data

...

current methods have no optional arguments

Details

This function uses the green and red channels reading of the type I and type II bisilfite conversion data to return the median bisulfite conversion percentage value for each array.

For the type I chemistry the beta values are calculated by dividing the first three probes of the green channel (C1, C2, C3) and the second three probes of the red channel (C4, C5, C6) by the sum of these probes and the unconverted probes of the green (U1, U2, U3) and the red (U4, U5, U6) channel.

The beta values from type II chemistry are calculated by dividing the methylated (red) channels by the sum of methylated (red) and unmethylated (green) channels.

Value

A vector of percentage values referring to the bisulfite conversion levels of each array.

Note

Updates to HumanMethylationEPIC manifest has seen the removal of control probes C6 and U6. This does not appear to grossly affect how function performs however we are considering alternative approaches to account for this.

Author(s)

Louis El Khoury (louis.el-khoury@essex.ac.uk), Eilis Hannon, Leonard Schalkwyk (lschal@essex.ac.uk)

Examples

1
2
3
4

wateRmelon documentation built on Nov. 8, 2020, 7:47 p.m.