plot_ratios: plot_ratios

Description Usage Arguments Value

View source: R/plot_ratios.R

Description

This function uses takes the output of 'calc_ratios' and creates double-ratio plots. This allows comparison between samples and source ratios, and calculate which source ratio is closest (in Euclidean distance) to the sample.

Usage

1
plot_ratios(ratio_dat, source_drop = "COA2")

Arguments

ratio_dat

A dataframe which is the output from 'calc_ratios'

source_drop

A vector of source abbreviations to drop from plotting. This allows the user to drop source outliers, or sources that are not near any samples.

Value

A 1x3 plot of relevant diagnostic double ratio plots. Note that this function defaults to drop the source "COA2" because it is an outlier relative to other sources. Use 'source_drop = NA' to include all sources.


limnoliver/pah documentation built on Sept. 1, 2018, 8:19 p.m.