epi_mahdist | R Documentation |
This function identifies regions with CpGs being outliers using the Minimum Covariance Determinant (MCD) estimator (covMcd) to compute the Mahalanobis distance.
epi_mahdist(mixture, nsamp = c("best", "exact", "deterministic"))
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:
|
The implementation of the method here is based on the discussion in this thread of Cross Validated
The function returns the computed Robust Mahalanobis distance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.