Multi_Perm: Computes PERMANOVA with vegan using multiple group...

Description Usage Arguments Value Examples

View source: R/Multi_Perm.R

Description

Computes PERMANOVA with vegan using multiple group information

Usage

1
Multi_Perm(Data, Classification, method = "bray")

Arguments

Data

csv file with Header as False First column with Sample Second column with Multilevel(Mixomics) so that it can be compatible with other multivariate statistics Third column with Group information. Rest of the columns are the metabolites to be tested.

Classification

csv file with Header as False ;First column with Sample; every other column can be used to indicate multiple classifiers

method

Dissimilarity index c("manhattan", "euclidean", "canberra", "clark", "bray", "kulczynski", "jaccard", "gower", "altGower", "morisita", "horn", "mountford", "raup", "binomial", "chao", "cao", "mahalanobis", "chisq",chord")

Value

vegan::adonis2(Dist_Met~Group,method = "bray",by = NULL,data = x_y_coord_G)

Examples

1
2
3
4
data(Data)
data(Classification)
Result<-Multi_Perm(Data,Classification)
Note that the code recognizes each class as a factor.

CHKim5/LMSstat documentation built on Dec. 17, 2021, 12:55 p.m.