read.process: Read and Transform Observed Sequencing Data

Description Usage Arguments Value

View source: R/read.process.R

Description

This function reads in methylated and unmethylated read count data, and transform it into logarithm bin-wise data.

Usage

1
read.process(pos, norm.m, norm.um, abnorm.m, abnorm.um, bin.size = 40)

Arguments

pos

CpG positions.

norm.m

A matrix contains methylated read count data of normal group. Each column of the matrix represents a replicate and each row represents a CpG position.

norm.um

A matrix contains unmethylated read count data of normal group.

abnorm.m

A matrix contains methylated read count data of abnormal group.

abnorm.um

A matrix contains unmethylated read count data of abnormal group.

bin.size

Size of a bin. Default to 40.

Value

obs A matrix contains transformed observations for each bin, distance between the current bin the bin ahead of it, average methylation rate of abnormal and normal groups, start and end position of each bin.


Tieming/A-Bayesian-hidden-Markov-model-for-detecting-DMRs documentation built on May 29, 2019, 12:36 p.m.