Description Usage Arguments Details Value Author(s) See Also Examples
The function selects the frquency of selection from the shrinkage method (LASSO, Elastic-net) based on cross validation, that is the number of times each metabolite occur during the cross-validation process. In case of large metabolomic matrix then the N argument can be used to select metabolites occurence at a particular frequency.
1 |
Object |
An object of class |
TopK |
The number of Top K metabolites (5 by default) to be displayed in the frequency of selection graph. |
N |
The metqbolites with the specified frequency should be displayed in the frequency of selection graph. |
This function outputs the mostly selected metabolites during the LASSO and Elastic-net cross validation. Selected top metabolites are ranked based on frequency of selection and also a particular frequency cqn be selected. In addition, it visualizes the selected top metabolites based on the minimum frequency specified.
A vector of metabolites and their frequency of selection. Also, a graphical representation is displayed.
Olajumoke Evangelina Owokotomo, olajumoke.owokotomo@uhasselt.be
Ziv Shkedy
cvmm
, coxph
,
EstimateHR
,CVLasoelacox
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## FIRSTLY SIMULATING A METABOLIC SURVIVAL DATA
Data = MSData(nPatients = 100, nMet = 150, Prop = 0.5)
## CROSS-VALIDATION FOR LASSO AND ELASTIC-NET
Result = CVLasoelacox(Survival = Data$Survival,
Censor = Data$Censor, Mdata = t(Data$Mdata),
Prognostic = Data$Prognostic, Quantile = 0.5,
Metlist = NULL,Standardize = TRUE, Reduce=FALSE, Select=15,
Alpha = 1,Fold = 4,Ncv = 10,nlambda = 100)
## CONFIRMING THE CLASS
class(Result)
## USING THE FUNCTION
MetFreq(Result,TopK = 5, N=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.