Learn R Programming

clustur (version 0.1.2)

get_abundance: Get Shared

Description

GetShared returns the generated abundance `data.frame` from the `cluster()` function

Usage

get_abundance(cluster_data)

Value

a shared data.frame

Arguments

cluster_data

The output from the `cluster()` function.

Examples

Run this code
cutoff <- 0.2
count_table <- read_count(example_path("amazon.full.count_table"))
distance_data <- read_dist(example_path("amazon_column.dist"),
                           count_table, cutoff, FALSE)
df_clusters <- cluster(distance_data, cutoff, method = "opticlust")
shared <- get_abundance(df_clusters)

Run the code above in your browser using DataLab