The function is to calculate the distance among samples
(Required). a phyloseq::phyloseq
or
SummarizedExperiment::SummarizedExperiment
object.
(Optional). character. Summarization
level (from rank_names(pseq)
, default: NULL).
(Required). character. Provide one of the currently supported
options. See distanceMethodList
for a detailed list of the supported options
and links to accompanying documentation. Options include:
"bray": bray crutis distance.
"unifrac" : unweighted UniFrac distance.
"wunifrac": weighted-UniFrac distance.
"GUniFrac": The variance-adjusted weighted UniFrac distances (default: alpha=0.5).
"dpcoa": sample-wise distance used in Double Principle Coordinate Analysis.
"jsd": Jensen-Shannon Divergence.
Alternatively, you can provide a character string that defines a custom
distance method, if it has the form described in designdist
.
(Optional). numeric. the parameter for "GUniFrac" controlling weight on abundant lineages (default: 0.5).
distance object, which could be applied for ordination analysis.