permanova | R Documentation |
Perform a PERMANOVA analysis for group differences of a predefined cofactor using the pseudo F-statistic
permanova(
rcmObj,
groups,
nPerm = 10000,
Dim = seq_len(rcmObj$k),
verbose = TRUE
)
rcmObj |
an RCM object |
groups |
a factor of length n with cluster memberships, or a name of a variable contained in the RCM object |
nPerm |
Number of permutations in the PERMANOVA |
Dim |
Dimensions on which the test should be performed. Defaults to all dimensions of the fitted RCM object. |
verbose |
a boolean, should output be printed? |
A list with components
statistic |
The pseudo F-statistic |
p.value |
The p-value of the PERMANOVA |
RCM
data(Zeller)
require(phyloseq)
tmpPhy = prune_taxa(taxa_names(Zeller)[1:100],
prune_samples(sample_names(Zeller)[1:50], Zeller))
zellerRCM = RCM(tmpPhy, round = TRUE)
zellerPermanova = permanova(zellerRCM, "Diagnosis")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.