bc_rank_plot: bc_rank_plot

View source: R/bc_rank_plot.R

bc_rank_plotR Documentation

bc_rank_plot

Description

Plots BC similarity vs ranked otu.

Usage

bc_rank_plot(otu, sample, mini_abun, threshold, sample_name, sample_group)

Arguments

otu

a community count data matrix with samples in rows and OTUs/taxa in column,

sample

a sample information data.frame. The rownames must match the sample names in the otu,

mini_abun

a value indicating whether the otu is present,

threshold

a value indicating the final percent increase in beta-diversity,

sample_name

the name of a column that containing the sample name,

sample_group

the name of a column that containing the sample type/group,

Details

Plots BC similarity vs ranked otu.

Value

A scatter plot showing the relationship between BC similarity and ranked otu with color denoting and core or non-core otu and a line indicating the threshold.

Examples

 bc_rank_plot(otu, sample, mini_abun=0, threshold=0.02, sample_name, sample_group)

lindan1128/coreMicrobiome documentation built on May 5, 2022, 8:24 p.m.