View source: R/cluster_object-getters.R
get_abundance | R Documentation |
GetShared returns the generated abundance 'data.frame' from the 'cluster()' function
get_abundance(cluster_data)
cluster_data |
The output from the 'cluster()' function. |
a shared data.frame
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.