View source: R/dist_and_extract.R
Calculate distance and extract subjects
1 2 3 4 5 6 7 8 9 | dist_and_extract(
data,
sufix = "extracted",
tree_phylo = NULL,
method = "euclidean",
type_extr = "Type%in%c(3,4)",
Name_type = df.Name_type,
param.UniFrac = c(0, 0.5, 1, "UW")
)
|
data |
A matrix to calculate distance |
method |
Metric of distacnce. |
type_extr |
Will be passed to ExploratoryDataAnalysis::extract_type function |
Name_type |
Will be passeed to ExploratoryDataAnalysis::extract_type function |
tree |
A tree object needed when method="UniFrac" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.