assign_fcbFlowFrame: Defines populations on barcoded datasets

View source: R/assign_fcbFlowFrame.R

assign_fcbFlowFrameR Documentation

Defines populations on barcoded datasets

Description

Defines populations on barcoded datasets

Usage

assign_fcbFlowFrame(
  fcbFlowFrame,
  channel,
  likelihoodcut = 8,
  ambiguitycut = 0.02
)

Arguments

fcbFlowFrame

a fcbFlowFrame object with barcoded flowframe and uptake flowframe post deskewing and clustering \(at least one barcodes slot filled\)

channel

The name \(string\) of the channel that has been corrected and clustered

likelihoodcut

numeric, a likelihood cutoff for discarding unlikely cells, less than 1/k as likely as the most likely cell from that population

ambiguitycut

numeric from 0 to 1, threshhold below which to discard ambigious cells, eg: 0.02, discards cells with more than 2% chance of originating from another population

Value

a fcbFlowFrame object with a barcode slot filled with deskewing, clustering, cell assignment as a vector of integers from 0:ncol\(probs\), cells assigned a classification of 0 remained unassigned, otherwise number corresponds to the barcoding level assignment of that cell


bjreisman/DebarcodeR documentation built on Oct. 22, 2022, 1:50 a.m.