Title: | Multivariate Asymptotic Non-Parametric Test of Association |
---|---|
Description: | The Multivariate Asymptotic Non-parametric Test of Association (MANTA) enables non-parametric, asymptotic P-value computation for multivariate linear models. MANTA relies on the asymptotic null distribution of the PERMANOVA test statistic. P-values are computed using a highly accurate approximation of the corresponding cumulative distribution function. Garrido-Martín et al. (2022) <doi:10.1101/2022.06.06.493041>. |
Authors: | Diego Garrido-Martín [aut, cre], Ferran Reverter [aut], Miquel Calvo [aut], Roderic Guigó [aut] |
Maintainer: | Diego Garrido-Martín <[email protected]> |
License: | GPL-3 |
Version: | 1.0.1 |
Built: | 2025-03-07 04:03:30 UTC |
Source: | https://github.com/dgarrimar/manta |
A simulated dataset containing the levels of 5 biomarkers,
measured in 100 individuals, with different scales.
Missing observations appear as NA
.
data(biomarkers)
data(biomarkers)
A matrix with 100 rows and 5 numerical variables:
levels of biomarker1
levels of biomarker2
Diego Garrido-Martín
Fits a multivariate linear model and computes test statistics and asymptotic P-values for predictors in a non-parametric manner.
manta( formula, data, transform = "none", type = "II", contrasts = NULL, subset = NULL, fit = FALSE )
manta( formula, data, transform = "none", type = "II", contrasts = NULL, subset = NULL, fit = FALSE )
formula |
object of class " |
data |
an optional data frame, list or environment (or object coercible
by |
transform |
transformation of the response variables: " |
type |
type of sum of squares: " |
contrasts |
an optional list. See |
subset |
subset of predictors for which summary statistics will be
reported. Note that this is different from the " |
fit |
logical. If |
A Y
matrix is obtained after transforming (optionally) and centering
the original response variables. Then, the multivariate fit obtained by
lm
can be used to compute sums of squares (type-I, type-II or
type-III), pseudo-F statistics and asymptotic P-values for the terms specified
by the formula
in a non-parametric manner. The designations "type-II"
and "type-III" correspond exactly to those used in Anova
.
"type-I" refers to sequential sums of squares.
manta
returns an object of class
"manta", a list containing:
call |
the matched call. |
aov.tab |
ANOVA table with Df, Sum Sq, Mean Sq, F values, partial R-squared and P-values. |
type |
the type of sum of squares ( |
precision |
the precision in P-value computation. |
transform |
the transformation applied to the response variables. |
na.omit |
incomplete cases removed (see |
fit |
if |
Diego Garrido-Martín
A simulated dataset containing the age, gender and disease status of 100
individuals. Missing observations appear as NA
.
data(patients)
data(patients)
A matrix with 100 rows and 3 variables:
Age of the patient (numerical)
Gender of the patient (factor with levels: "male" and "female")
Disease status of the patient (ordered factor with levels: "healthy", "mild" and "severe")
Diego Garrido-Martín