core_plots: Generate a plot using the output from 'combined_methods'

View source: R/core_plots.R

core_plotsR Documentation

Generate a plot using the output from combined_methods

Description

Generate a plot using the output from combined_methods

Usage

core_plots(
  combined_otu_data,
  low = "#EAE6f3",
  high = "#432976",
  legend_title = "Taxa Count"
)

## Default S3 method:
core_plots(
  combined_otu_data,
  low = "#EAE6f3",
  high = "#432976",
  legend_title = "Taxa Count"
)

## S3 method for class 'core_methods'
core_plots(
  combined_otu_data,
  low = "#EAE6f3",
  high = "#432976",
  legend_title = "Taxa Count"
)

Arguments

combined_otu_data

the dataframe output of combined_methods

low

the hexidecimal code of the low color

high

the hexidecimal code of the high color

legend_title

title display above legend

Value

a ggplot2 object of methods...

a dataframe with all observed taxa, their inclusion to the core by method (delineated as a 1 or 0), the mean, variance, and coefficient of variation.

Examples

## Not run: 
core_arabidopsis <- combine_methods(arabidopsis)
core_plots(
  core_arabidopsis,
   high = "#2D5062",
   low = "#E6ECF1",
   legend_title = "Arabidopsis Taxa Count"
)

## End(Not run)


MayaGans/CoreMicro documentation built on March 5, 2023, 2:54 a.m.