res_mahdist: Creates a data frame containing the results obtained from...

View source: R/epi_mahdist.R

res_mahdistR Documentation

Creates a data frame containing the results obtained from Robust Mahalanobis distance

Description

Creates a data frame containing the genomic regions, statistics and direction for the DMRs.

Usage

res_mahdist(case, bump, outliers)

Arguments

case

a character string specifying the case sample name.

bump

a DMR obtained from bumphunter (i.e. a row from bumphunter method result).

outliers

the robust distance computed by epi_mahdist function results.

Value

The function returns a data frame containing the following information for each DMR:

  • genomic ranges

  • DMR base pairs

  • number and name of CpGs in DMR

  • statistics:

    • Outlier score

    • Outlier significance

    • Outlier direction

  • Sample name

For more information about the output see epimutations.


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