epi_parameters: Settings for parameters of 'epimutations' and...

View source: R/epi_parameters.R

epi_parametersR Documentation

Settings for parameters of epimutations and epimutations_one_leave_out functions


Allow the user to set the values of the parameters to compute the functions epimutations and epimutations_one_leave_out.


  manova = list(pvalue_cutoff = 0.05),
  mlm = list(pvalue_cutoff = 0.05),
  iForest = list(outlier_score_cutoff = 0.7, ntrees = 100),
  mahdist = list(nsamp = "deterministic"),
  quantile = list(window_sz = 1000, offset_abs = 0.15, qsup = 0.995, qinf = 0.005),
  beta = list(pvalue_cutoff = 1e-06, diff_threshold = 0.1)


manova, mlm, iForest, mahdist, quantile, beta

method selected in the function epimutations.


the threshold p value to select which CpG regions are outliers in manova, mlm and beta methods.


The outlier score threshold to identify outliers CpGs in isolation forest (iForest) method. Default is 0.5.


number of binary trees to build for the model build by isolation forest (iForest) method. Default is 100.


the number of subsets used for initial estimates in the Minimum Covariance Determinant which is used to compute the Robust Mahalanobis distance (mahdist). It can be set as: "best", "exact", or "deterministic". For nsamp = "best" exhaustive enumeration is done, as long as the number of trials does not exceed 100'000. For nsamp = "exact" exhaustive enumeration will be attempted however many samples are needed. In this case, a warning message may be displayed saying that the computation can take a very long time. For nsamp = "deterministic". For more information see covMcd. Default is "deterministic".


the maximum distance between CpGs to be considered in the same DMR. This parameter is used in quantile (default: 1000).

qsup, qinf, offset_abs

The upper and lower quantiles (threshold) to consider a CpG an outlier when using quantile method, as well as the offset to consider (defaults: 0.005, 0.995, 0.15).


Minimum methylation difference between the CpG and the mean methylation to consider a position an outlier.


Invoking epi_parameters() with no arguments returns return a list with the default values.


the function returns a list of all set parameters for each method used in epimutations and epimutations_one_leave_out functions.


   #Default set of parameters
   #change p value for manova method
   epi_parameters(manova = list("pvalue_cutoff" = 0.01))

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