Learn R Programming

⚠️There's a newer version (1.1.2) of this package.Take me there.

MetabolicSurv

R package : A biomarker validation approach for predicting survival using metabolic signature, this package develope biomarker signature for metabolic data. It contains a set of functions and cross validation methods to validate and select biomarkers when the outcome of interest is survival. The package can handle prognostic factors and mainly metabolite matrix as input, the package can served as biomarker validation tool.

Why use the package

  • It can be used with any form of high dimensional/omics data such as: Metabolic data, Gene expression matrix, incase you dont have a data it can simulate hypothetical scinerio of a high dimensional data based on the desired biological parameters
  • It developed any form of signature from the high dimensional data to be used for other purpose
  • It also employs data reduction techniques such as PCA, PLS and Lasso
  • It classifies subjects based on the signatures into Low and high risk group
  • It incorporate the use of subject prognostic information for the to enhance the biomarker for classification
  • It gives information about the surival rate of subjects depending on the classification

Installation

You can install the released version of MetabolicSurv from CRAN with:

install.packages("MetabolicSurv")

Illustrations to simulate a Metabolomic profile matrix

Apart from the survival prediction and classification, \pkg{MetabolicSurv} can also be used to generate an artificial Metabolomic profile matrix, survival data (Survival time and censoring indiicator) and clinical covariates which will be referred to as prognostic factors to be used for further analysis or for other pursoses. Since there a few publicly available metabolic profile matrix this package can be used to firstly simulate each of this respective dataset which is required to evaluate the other basic and advance function in the package.

	library(MetabolicSurv)
	Data <- MSData(nPatients = 200, nMet = 3000, Prop = 0.5)
	Metdata <- Data$Mdata
	Survdata <- Data$Survival
	Censordata <- Data$Censor
	Progdata <- Data$Prognostic
	

The code above was used to simulate a metabolomic, survival and prognostic data with a total of 200 patients with 3000 metabolites in the metabolomic profile matriix assuming that the proportion of patients having low risk is 0.5 . The proportion can be adjusted depending on how strict one need to be in assuming equal or unequal proportion of classification based on biological findings or intelligent guess. The Metabolomic profile matrix is stored in Metdata, the survival time is stored in Survdata, Censoring information in Censordata and the Prognosticfactor/clinical covariates in Progdata.

A quick Demostration to solve a problem

"Problem of interest"

"Given a set of subjects with known riskscores and prognostic features how can we use this information to obtain their risk of surving and what group does each respective subject belongs to?"
##  Loading the package
library("MetabolicSurv")

##  Loading one of the inbuilt data
data(DataHR)
names(DataHR)

##  This function does Classification, Survival Estimation and Visualization
Result = EstimateHR(Risk.Scores=DataHR[,1],Data.Survival=DataHR[,2:3]
,Prognostic=DataHR[,4:5],Plots=FALSE,Quantile=0.50)

## Survival information
Result$SurvResult


## Group information
Result$Riskgroup

Functions in the package

CategoryFunctionsDescription
BasicMSpecificCoxPhMetabolite by metabolite Cox proportional hazard analysis
SurvPcaClassClassifier based on first PCA
SurvPlsClassClassifier based on first PLS
MajorityvotesClassifiction for Majority Votes
LasoelacoxWrapper function for glmnet
MSDataGenerate Artificial Metabolic Survival Data
AdvanceCVLasoelacoxCross Validations for Lasso Elastic Net predictive models and Classification
CVSimCross-validation for Top $K_{1}, \ldots, K_{n}$ metabolites
CVPcaPlsCross-validations for PCA and PLS based methods
CvMajorityvotesCross-validation for majority votes
MetFreqFrequency of Selected Metabolites from the Metabolite specific Cross Validation
QuantileAnalysisSensitivity of the quantile used for classification
IcvlasoelInner and outer cross-validations for shrinkage methods
DistHRNull distribution of the estimated HR
SIMetSequentially increase the number of top $K$ metabolites

Copy Link

Version

Install

install.packages('MetabolicSurv')

Monthly Downloads

183

Version

1.1.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Olajumoke Evangelina Owokotomo

Last Published

August 24th, 2020

Functions in MetabolicSurv (1.1.1)

CVSim

Cross validation for sequentially increases metabolites
EstimateHR

Classification, Survival Estimation and Visualization
DistHR

Null Distribution of the Estimated HR
Icvlasoel

Inner and Outer Cross Validations for Lasso Elastic Net Survival predictive models and Classification
Lasoelacox

Wapper function for glmnet
MetFreq

Frequency of Selected Metabolites from the LASSO, Elastic-net Cross-Validation
CVPcaPls

Cross Validations for PCA and PLS based methods
Majorityvotes

Classifiction for Majority Votes
CVMetSpecificCoxPh

Cross validation for the Metabolite specific analysis
CVMajorityvotes

Cross validation for majority votes
SIMet

Sequential Increase in Metabolites for the PCA or PLS classifier
CVLasoelacox

Cross Validations for Lasso Elastic Net Survival predictive models and Classification
SurvPcaClass

Survival PCA and Classification for metabolic data
MetabolicSurv

MetabolicSurv: A biomarker validation approach for predicting survival using metabolic signature.
DataHR

Survival and Prognostic Data .
QuantileAnalysis

Quantile sensitivity analysis
cvpp-class

The cvpp Class.
cvmv-class

The cvmv Class.
cvmm-class

The cvmm Class.
MSData

Generate Artificial Metabolic Survival Data
cvsim-class

The cvsim Class.
perm-class

The perm Class.
MSpecificCoxPh

Metabolite by metabolite Cox proportional analysis
SurvPlsClass

Survival PLS and Classification for metabolic data
fcv-class

The fcv Class.
cvle-class

The cvle Class.
ms-class

The ms Class.