plot_barcode_yields: Plotting sample yields after debarcoding

View source: R/debarcoder_plotting.R

plot_barcode_yieldsR Documentation

Plotting sample yields after debarcoding

Description

Plotting sample yields after debarcoding

Usage

plot_barcode_yields(
  bc.results,
  sep.threshold,
  mahal.threshold = NULL,
  mahal.dist = NULL
)

Arguments

bc.results

The debarcoding results returned from debarcode_data

mahal.threshold

If not NULL The threshold value for the Mahalanobis distance between each event and the centroid of the sample the event has been assigned to. Only events with distance lower than this threshold are assigned to the sample.

mahal.dist

A vector of Mahalnobis distances, as returned by get_mahalanobis_distance. Only used if mahal.threshold is not NULL

Value

Returns a ggplot2 object


ParkerICI/premessa documentation built on Sept. 16, 2022, 3:06 p.m.