pairMicroTest: Beta diversity statistics by adonis/anosim/MRPP in pair

View source: R/pairMicroTest.R

pairMicroTestR Documentation

Beta diversity statistics by adonis/anosim/MRPP in pair

Description

Input phyloseq object, test method and distance type

Usage

pairMicroTest(ps = ps, Micromet = "anosim", dist = "bray")

Arguments

ps

alternative input;

Micromet

statistics default by adonis, alternative anosim or MRPP;

dist

distance type, including "unifrac" "wunifrac" "dpcoa" "jsd" "manhattan" "euclidean" "canberra" "bray" "kulczynski" "jaccard" "gower" "altGower" "morisita" "horn" "mountford" "raup" "binomial" "chao" "cao" "w" "-1" "c" "wb" "r" "I" "e" "t" "me" "j" "sor" "m" "-2" "co";

otu

OTU/ASV table;

map

Sample metadata;

tree

tree/nwk file;

group

group ID;

method

DCA, CCA, RDA, NMDS, MDS, PCoA, PCA, LDA;

pvalue.cutoff

Pvalue threshold, default in 0.05;

Details

By default, input phyloseq object include metadata and otutab The available diversity indices include the following:

  • most used indices: bray unifrac wunifrac

  • other used indices: dpcoa jsd manhattan euclidean canberra kulczynski jaccard gower altGower morisita horn mountford raup binomial chao cao w -1 c wb r I e t me j sor m -2 co

Value

stat table

Author(s)

Contact: Tao Wen 2018203048@njau.edu.cn, Yong-Xin Liu yxliu@genetics.ac.cn

References

Yong-Xin Liu, Yuan Qin, Tong Chen, Meiping Lu, Xubo Qian, Xiaoxuan Guo & Yang Bai. A practical guide to amplicon and metagenomic analysis of microbiome data. Protein Cell, 2020(41), 1-16, DOI: https://doi.org/10.1007/s13238-020-00724-8

Jingying Zhang, Yong-Xin Liu, Na Zhang, Bin Hu, Tao Jin, Haoran Xu, Yuan Qin, Pengxu Yan, Xiaoning Zhang, Xiaoxuan Guo, Jing Hui, Shouyun Cao, Xin Wang, Chao Wang, Hui Wang, Baoyuan Qu, Guangyi Fan, Lixing Yuan, Ruben Garrido-Oter, Chengcai Chu & Yang Bai. NRT1.1B is associated with root microbiota composition and nitrogen use in field-grown rice. Nature Biotechnology, 2019(37), 6:676-684, DOI: https://doi.org/10.1038/s41587-019-0104-4

See Also

BetaDiv beta_pcoa beta_cpcoa

Examples

# Input phyloseq format input, and options group, method and distance
# 鐢熸垚phyloseq瀵硅薄
ps=phyloseq(otu_table(otutab_rare, taxa_are_rows=TRUE), sample_data(metadata))
pairMicroTest (ps=ps, Micromet="anosim", dist="bray")

microbiota/amplicon documentation built on April 30, 2023, 1:48 p.m.