alphaconeVis: Alpha Diversity Metric Distributions Visualization

View source: R/alphacone.R

alphaconeVisR Documentation

Alpha Diversity Metric Distributions Visualization

Description

alphaconeVis() will generate a visualization of the the distributions of the alpha diversity metric data.frame generated using alphacone().

Usage

alphaconeVis(x, cols = "Sample", alpha = 0.7)

Arguments

x

The alphacone() dataframe

cols

The metadata column that will be used for colour assignment

alpha

The opacity of the geom_ribbon. By default, a value of 0.7 will be applied. For full opacity, set alpha = 1, for more transparency, decrease alpha accordingly.

Value

a ggplot object.

Examples

library(mirlyn)
data(example)

## Not run: 
alphacone_example <- alphacone(example, rep = 100)
alphaconeVis(alphacone_example, cols = "Sample")

## End(Not run)


escamero/mirlyn documentation built on Aug. 6, 2023, 9:30 p.m.