Learn R Programming

RefFreeEWAS (version 1.01)

EstDimIC: Dimension estimation by AIC and BIC

Description

Method for estimating latent dimension by AIC and BIC.

Usage

EstDimIC(Rmat,Krange=0:25)

Arguments

Rmat
Residual matrix for which to estimate latent dimension.
Krange
Vector of integers representing candidate dimensions to consider

Value

  • A list containing AIC and BIC for candidate dimensions, as well as the best dimension for each.

Details

Method for estimating latent dimension by AIC and BIC. Inferior to the RMT method in the isva package, but it appears here because it's mentioned in our paper.

References

Houseman EA, Molitor J, and Marsit CJ (2013), Reference-Free Cell Mixture Adjustments in Analysis of DNA Methylation Data. Currently a tech report, in revision for publication.

See Also

EstDimRMT

Examples

Run this code
data(RefFreeEWAS)

tmpDesign <- cbind(1, rfEwasExampleCovariate)
  tmpBstar <- rfEwasExampleBetaValues
  EstDimIC(rfEwasExampleBetaValues-tmpBstar

Run the code above in your browser using DataLab