Description Usage Arguments Details Value Author(s) See Also Examples
The Function generates metabolic profile and survival dataset of any number of patients and also their survival information.
1 | MSData(nPatients = 100, nMet = 150, Prop = 0.5)
|
nPatients |
The number of patients |
nMet |
The number of metabolites |
Prop |
The proportion of patients having low risk |
The function generates the metabolic profile where small set of metabolites (30) are informative and rest of them are set as noisy metabolites.
Also, the survival time and Censoring information are generated based on first right singular vectors of svd
of the metabolic profile matrix.
It also generates other prognostic factors such as Age, Stage and Gender which are slightly correlated with survival time.
An object of class list is returned with the following items .
Censor |
The censoring/event indicator |
Survival |
The Survival time |
Met.names |
The vector of metabolites name |
Mdata |
The metabolic profile matrix |
Prognostic |
A data frame with prognostic factors. |
Olajumoke Evangelina Owokotomo, olajumoke.owokotomo@uhasselt.be
Ziv Shkedy
1 2 3 4 5 6 7 8 9 | #GENERATE SOME METABOLIC SURVIVAL DATA WITH PROGNOSTIC FACTORS
Data<-MSData(nPatients=100,nMet=150,Prop=0.5)
SurvTime<-Data$Survival
Censor<-Data$Censor
ProgFact<-Data$Prognostic
MetData<-Data$Mdata
Metnames<-Data$Met.names
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.