get_beta_div: get_beta_div Function This function generates a list...

Description Usage Arguments Value

View source: R/Analysis_Functions.R

Description

get_beta_div Function This function generates a list containing the rarified distance metric and its associated metadata table.

Usage

1
get_beta_div(metric, setType, metadata)

Arguments

metric

Can either be "w_unifrac" to get a Weighted UniFrac distance matrix or "bray_curtis" to get a Bray Curtis dissimilarity matrix.

setType

Choose between "complete" to get the original dataset. Whole to get all samples... although some will be removed as they lack a depth of 5000 reads. Or validation to get the validation dataset.

The

metadata table associated with the dataset.

Value

Returns a list containing the "Metadata" and "Distance" matrix


nearinj/Nearing_et_al_2020_Oral_Microbiome documentation built on Sept. 6, 2020, 8:25 p.m.