Description Usage Arguments Value Examples
This function allows one to associate DNA methylation with matched mRNA expression in a multivariate context while adjusting for race. This function assumes that the variable 'race' is the final column in the matrix.
1 | Adjust(x, y, alpha, nfolds, clin)
|
x |
Processed DNA methylation with covariates. Race must be the final term |
y |
Raw expression count vector |
alpha |
Elastic net mixing penalty. Defaults to 0.5 |
nfolds |
the number of folds to use for cross-validation |
clin |
a matrix of clinical covariates |
returns list of five elements for summarizing model construction.
Model
is the predicted model for the gene. Predicted.Expression
is the Cross-validated predicted expression. Overall.D2
The prediction
accuracy for the adjusted model. Class1.D2
is the prediction accuracy
for the reference class. Class2.D2
is the prediction accuracy for the
non-reference class.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.