get_assignments_at_threshold: Assign events to a specific sample

get_assignments_at_thresholdR Documentation

Assign events to a specific sample

Description

Assign events to a specific sample

Usage

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

Arguments

bc.results

The debarcoding results returned from debarcode_data

sep.threshold

The threshold value for the separation between the positive and negative barcode channels. Only events whose separation is greater than this threshold are assigned to the sample

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 character vector containing the sample labels, given the current thresholds.


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