mint.spls | R Documentation |
Function to integrate and combine multiple independent studies measured on the same variables or predictors (P-integration) using variants of multi-group sparse PLS for variable selection (unsupervised analysis).
mint.spls(
X,
Y,
ncomp = 2,
mode = c("regression", "canonical", "invariant", "classic"),
study,
keepX = rep(ncol(X), ncomp),
keepY = rep(ncol(Y), ncomp),
scale = TRUE,
tol = 1e-06,
max.iter = 100,
near.zero.var = FALSE,
all.outputs = TRUE,
verbose.call = FALSE
)
X |
numeric matrix of predictors combining multiple independent studies
on the same set of predictors. |
Y |
Matrix or vector response for a multivariate regression framework.
Data should be continuous variables (see |
ncomp |
Positive Integer. The number of components to include in the model. Default to 2. |
mode |
Character string indicating the type of PLS algorithm to use. One
of |
study |
Factor, indicating the membership of each sample to each of the studies being combined |
keepX |
numeric vector indicating the number of variables to select in
|
keepY |
numeric vector indicating the number of variables to select in
|
scale |
Logical. If scale = TRUE, each block is standardized to zero means and unit variances (default: TRUE) |
tol |
Positive numeric used as convergence criteria/tolerance during the
iterative process. Default to |
max.iter |
Integer, the maximum number of iterations. Default to 100. |
near.zero.var |
Logical, see the internal |
all.outputs |
Logical. Computation can be faster when some specific
(and non-essential) outputs are not calculated. Default = |
verbose.call |
Logical (Default=FALSE), if set to TRUE then the |
mint.spls
fits a vertical sparse PLS-DA models with ncomp
components in which several independent studies measured on the same
variables are integrated. The aim is to explain the continuous outcome
Y
and selecting correlated features between both data sets X
and Y
. The study
factor indicates the membership of each
sample in each study. We advise to only combine studies with more than 3
samples as the function performs internal scaling per study.
Multi (continuous)response are supported. X
and Y
can contain
missing values. Missing values are handled by being disregarded during the
cross product computations in the algorithm mint.spls
without having
to delete rows with missing data. Alternatively, missing data can be imputed
prior using the nipals
function.
The type of algorithm to use is specified with the mode
argument.
Four PLS algorithms are available: PLS regression ("regression")
, PLS
canonical analysis ("canonical")
, redundancy analysis
("invariant")
and the classical PLS algorithm ("classic")
(see
References and more details in ?pls
).
Variable selection is performed on each component for each block of
X
, and for Y
if specified, via input parameter keepX
and keepY
.
Useful graphical outputs are available, e.g. plotIndiv
,
plotLoadings
, plotVar
.
mint.spls
returns an object of class
"mint.spls","spls"
, a list that contains the following components:
X |
numeric matrix of predictors combining multiple independent studies
on the same set of predictors. |
Y |
the centered and standardized original response vector or matrix. |
ncomp |
the number of components included in the model. |
study |
The study grouping factor |
mode |
the algorithm used to fit the model. |
keepX |
Number of variables used to build each component of X |
keepY |
Number of variables used to build each component of Y |
variates |
list containing the variates of X - global variates. |
loadings |
list containing the estimated loadings for the variates - global loadings. |
variates.partial |
list containing the variates of X relative to each study - partial variates. |
loadings.partial |
list containing the estimated loadings for the partial variates - partial loadings. |
names |
list containing the names to be used for individuals and variables. |
nzv |
list containing the zero- or near-zero predictors information. |
iter |
Number of iterations of the algorithm for each component |
prop_expl_var |
The amount
of the variance explained by each variate / component divided by the total
variance in the |
call |
if |
Florian Rohart, Kim-Anh Lê Cao, Al J Abadi
Rohart F, Eslami A, Matigian, N, Bougeard S, Lê Cao K-A (2017). MINT: A multivariate integrative approach to identify a reproducible biomarker signature across multiple experiments and platforms. BMC Bioinformatics 18:128.
Eslami, A., Qannari, E. M., Kohler, A., and Bougeard, S. (2014). Algorithms for multi-group PLS. J. Chemometrics, 28(3), 192-201.
spls
, summary
, plotIndiv
,
plotVar
, predict
, perf
,
mint.pls
, mint.plsda
, mint.splsda
and http://www.mixOmics.org/mixMINT for more details.
data(stemcells)
# for the purpose of this example, we artificially
# create a continuous response Y by taking gene 1.
res = mint.spls(X = stemcells$gene[,-1], Y = stemcells$gene[,1], ncomp = 3,
keepX = c(10, 5, 15), study = stemcells$study)
plotIndiv(res)
#plot study-specific outputs for all studies
plotIndiv(res, study = "all.partial")
## Not run:
#plot study-specific outputs for study "2"
plotIndiv(res, study = "2", col = 1:3, legend = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.