epi_mahdist: Identifies epimutations using Robust Mahalanobis distance

View source: R/epi_mahdist.R

epi_mahdistR Documentation

Identifies epimutations using Robust Mahalanobis distance

Description

This function identifies regions with CpGs being outliers using the Minimum Covariance Determinant (MCD) estimator (covMcd) to compute the Mahalanobis distance.

Usage

epi_mahdist(mixture, nsamp = c("best", "exact", "deterministic"))

Arguments

mixture

beta values matrix. Samples in columns and CpGs in rows.

nsamp

the number of subsets used for initial estimates in the MCD. It can be set as: "best", "exact", or "deterministic".

Details

The implementation of the method here is based on the discussion in this thread of Cross Validated

Value

The function returns the computed Robust Mahalanobis distance.


isglobal-brge/epimutacions documentation built on April 22, 2024, 4:08 a.m.