Skip to contents

Installing and loading the package

The FTM package can be installed from Github using code below. Note that you’ll need to install glmnet package, if you haven’t already.

if (!require("devtools")) install.packages("devtools")
if (!require("glmnet")) install.packages("glmnet")
devtools::install_github("BakerMetabolomics/FlexibleTransferModels", build_vignettes = TRUE)

Load the package.