ses.permtest: Permutation test of z-matrix

View source: R/ses.permtest.R

ses.permtestR Documentation

Permutation test of z-matrix

Description

Permutation test of z-matrix from ses.comdist(2), ses.comdistnt and ses.UniFrac. Test if means within or between groups is higher or lower than the overall mean of the matrix

Usage

ses.permtest(zmat, sampleGroups, R = 10000)

Arguments

zmat

Symmetric matrix with z-values

sampleGroups

Vector with the grouping of the samples in the same order as in zmat

R

Number of permutations

Value

A dataframe with p-values (pval), fdr corrected p-values (pval.adj), and average z-values (avg) for each group and combination of groups.


Russel88/MicEco documentation built on Nov. 24, 2022, 2:33 a.m.