dispMat: Methylation Levels to Dispersion

Description Usage Arguments Value See Also

View source: R/dispMat.R

Description

Methylation Levels to Dispersion

Usage

1
dispMat(M, pos, bandwidth = 5509, kernel = c("normal", "box"))

Arguments

M

A matrix of methylation levels with dimensions n by K (n subjects, K CpG sites).

pos

A vector of CpG locations (in base pairs). Elements should be of the same order as the columns of M.

bandwidth

The bandwidth for ksmooth. Default is 5509, 20 % of the median gene length according to UCSC Genome build hg38.

kernel

The kernel to be used for ksmooth.

Value

A matrix of methylation dispersion with dimensions n by K.

See Also

ksmooth


cxystat/AFb documentation built on June 17, 2021, 7:30 p.m.