Description Usage Arguments Details Value Examples
View source: R/glmnetWrapper.R
warpper function of parameters for glmnet function
1 2 3 | glmnetWrapper(alpha, trainTable_df, respCol_index, family = c("gaussian",
"binomial", "poisson", "multinomial", "cox", "mgaussian"), seed_int,
whichRep_int, whichCVfold_int)
|
alpha |
one alpha value for glmnet |
trainTable_df |
train data frame that each column represents a CpG probe while each row represents a sample, each cell is a methaylation M value |
respCol_index |
which col number is response variable in Methylation Mvalue data frame |
family |
Response type |
seed_int |
seed.value in use right row |
whichRep_int |
repetition num in use right now, this decides on the traning data to be used |
whichCVfold_int |
crossvalidation num in use right now, this decides on the traning data to be used |
function that create input of function evaluateGlmnet
A list contains results of glmnet
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
data(ExampleMvalue_train)
fit <- glmnetWrapper(
alpha = 0,
trainTable_df = ExampleMvalue_train,
respCol_index = 1,
family = "binomial",
seed_int = 120,
whichRep_int = 1,
whichCVfold_int = 5
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.