Description Slots Author(s) See Also Examples
The cvle Class.
Coef.matA matrix of coefficients with rows equals to number of cross validations and columns equals to number of metabolites.
RuntimeA vector of runtime for each iteration measured in seconds.
lambdaA vector of estimated optimum lambda for each iterations.
nA vector of the number of selected metabolites
Met.matA matrix with 0 and 1. Number of rows equals to number of iterations and number of columns equals to number of metabolites. 1 indicates that the particular metabolite was selected or had nonzero coefficient and otherwise it is zero.
HRTrainA matrix of survival information for the training dataset. It has three columns representing the estimated HR, the 95% lower confidence interval and the 95% upper confidence interval.
HRTestA matrix of survival information for the test dataset. It has three columns representing the estimated HR, the 95% lower confidence interval and the 95% upper confidence interval.
pldA vector of partial likelihood deviance at each cross validations.
MdataThe metabolite matrix that was used for the analysis which can either be the full the full data or a reduced supervised PCA version.
Olajumoke Evangelina Owokotomo, olajumoke.owokotomo@uhasselt.be
Ziv Shkedy
EstimateHR, glmnet, Lasoelacox
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## GENERATE SOME METABOLIC SURVIVAL DATA WITH PROGNOSTIC FACTORS
Data<-MSData(nPatients=100,nMet=150,Prop=0.5)
## USE THE FUNCTION
Eg = 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)
## GET THE CLASS OF THE OBJECT
class(Eg) # An "cvle" Class
## METHOD THAT CAN BE USED FOR THIS CLASS
show(Eg)
summary(Eg)
plot(Eg, type =3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.