res_mlm: Creates a data frame containing the results obtained from MLM

View source: R/epi_mlm.R

res_mlmR Documentation

Creates a data frame containing the results obtained from MLM

Description

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

Usage

res_mlm(bump, sts)

Arguments

bump

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

sts

the F statistic, R2 test statistic and Pillai obtained as a result of epi_mlm function.

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.