HRTrain: A 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.
HRTest: A 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.
Ncv: The number of cross validation used
Mdata: The Metabolite data matrix that was used for the analysis either same as Mdata or a reduced version.
Progfact: The names of prognostic factors used
Examples
## GENERATE SOME METABOLIC SURVIVAL DATA WITH PROGNOSTIC FACTORSData<-MSData(nPatients=100,nMet=150,Prop=0.5)## USING THE FUNCTIONResult = CVMajorityvotes(Survival=Data$Survival,Censor=Data$Censor,Prognostic=Data$Prognostic, Mdata=t(Data$Mdata), Reduce=FALSE,Select=15, Fold=3, Ncv=10)## GET THE CLASS OF THE OBJECTclass(Result)# A "cvmv" Class## METHOD THAT CAN BE USED FOR THE RESULTshow(Result)summary(Result)