Description Usage Arguments Value Author(s) See Also Examples
This function simplifies ADONIS analysis by abstracting away some of the complexity and returning a list of useful measures.
| 1 2 3 | 
| data | an OTU table or a taxonomy abundance matrix. | 
| is.OTU | logical. If the data is an OTU table, set  | 
| meta | the metadata table to be used (must have same samples as
 | 
| ranks | optional. If  | 
| data.trans | optional. Transform the  | 
| dist | optional. the name of any method used in  | 
| meta.strata | optional. A metadata variable within which to constrain 
permutations. See also  | 
| perm | a numeric number of replicate permutations used for the 
hypothesis test used in  | 
| top | optional. Select the top taxa or OTUs.
See also  | 
| mode | a character vector, one of " | 
This function returns a list containing outputs from
adonis test.
 If is.OTU is TRUE and ranks is not 
given: the output is a length one list named 
LCA_OTU.
 If is.OTU is TRUE and ranks is given:
the output is a list with a length same as the number of
taxonomic ranks provided. Each member of the list is named
after the rank it processed at.
 If is.OTU is FALSE, the output is a length
one list named Taxa.
Wen Chen.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | data(ITS1, meta)
## Not run: 
# test OTUs
data <- list(ITS1=ITS1, ITS2=ITS2)
assist.ado(data=data, is.OTU=TRUE,meta=meta, ranks=NULL,
           data.trans="log", dist=NULL)
# test taxa at different ranks
ranks <- c("p", "c", "o", "f", "g")
ado <- assist.ado(data=data, is.OTU=TRUE, 
                  meta=meta, ranks=ranks,
                  data.trans="log", dist="bray" )
# test genera
g1 <- tax.abund(otu1=ITS1, rank="g", drop.unclassified=TRUE)
data <- list(g1=g1)
assist.ado(data=data, is.OTU=FALSE, 
           meta=meta, ranks=NULL,
           data.trans="log", dist="bray" )
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.