get_well_abundances: Calculate number of events assigned to each sample

get_well_abundancesR Documentation

Calculate number of events assigned to each sample

Description

Calculate number of events assigned to each sample

Usage

get_well_abundances(
  bc.results,
  sep.thresholds,
  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


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