betas_from_bump: Obtains bumps beta values

View source: R/betas_from_bump.R

betas_from_bumpR Documentation

Obtains bumps beta values

Description

The function obtains beta values corresponding to the CpGs into DMRs.

Usage

betas_from_bump(bump, fd, betas)

Arguments

bump

the result from bumphunter.

fd

a data frame containing the genomic ranges for each CpGs.

betas

a matrix containing the beta values for all CpGs in each sample.

Value

The function returns a data frame containing the beta values for each sample and CpG into DMR.


isglobal-brge/EpiMutations documentation built on April 20, 2024, 9:05 a.m.