Learn R Programming

baySeq (version 2.6.0)

methObservables: Generation of intermediate values in likelihood estimation for methylation data.

Description

Estimating prior and posterior values for methylation data that account for non-conversion rates is a time-consuming process. Significant increases in speed can be made by calculating in advance sets of data that will be re-used at several points of these analyses. This function populates the '@cellObservables' slot of a `countData' object that contains a `nonconversion' object in the `@sampleObservables' slot.

Usage

methObservables(mD)

Arguments

mD
A countData object, or descendant, which contains a numeric vector 'nonconversion' in the `@sampleObservables' slot.

Value

A countData object with the '@cellObservables' slot populated with temporary values useful in the faster calculation of likelihoods.