| fcv-class {MetabolicSurv} | R Documentation |
The fcv Class.
Description
The fcv Class.
Slots
RuntimeA vector of runtime for each iteration measured in seconds.
FoldNumber of folds used.
NcvNumber of outer cross validations used.
NicvNumber of inner cross validations used.
TopKThe Top metabolites used
HRInnerA 3-way array in which first, second, and third dimensions correspond to Nicv, 1, and Ncv respectively. This contains estimated HR for low risk group on the out of bag data.
HRTestA matrix of survival information for the test dataset based on the out of bag data. It has three columns representing the estimated HR, the 95% lower confidence interval and the 95% upper confidence interval.
WeightA matrix with columns equals number of TopK metabolites and rows Ncv. Note that Weights are estimated as colMeans of coefficients matrix return from the inner cross validations.
Author(s)
Olajumoke Evangelina Owokotomo, olajumoke.owokotomo@uhasselt.be
Ziv Shkedy
See Also
CVLasoelacox,
EstimateHR, glmnet, Lasoelacox
Examples
## GENERATE SOME METABOLIC SURVIVAL DATA WITH PROGNOSTIC FACTORS
Data<-MSData(nPatients=100,nMet=150,Prop=0.5)
## USE THE FUNCTION
Eg = Icvlasoel(Data$Survival, Data$Censor, Data$Prognostic,
t(Data$Mdata), Fold = 3,Ncv = 5, Nicv = 7, Alpha = 1,
TopK = colnames(Data$Mdata[,80:100]), Weights = FALSE)
## GET THE CLASS OF THE OBJECT
class(Eg) # An "fcv" Class
## METHOD THAT CAN BE USED FOR THIS CLASS
show(Eg)
summary(Eg)
plot(Eg, type =1)