dist_and_extract: Calculate distance and extract subjects

Description Usage Arguments

View source: R/dist_and_extract.R

Description

Calculate distance and extract subjects

Usage

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")
)

Arguments

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"


mrmtshmp/ExploratoryDataAnalysis documentation built on Oct. 6, 2020, 8 a.m.