Adds a new parameter to each of the flowFrames in the flowSet called "Sample ID" to barcode events from each flowFrame.

cyto_barcode(x, type = "samples")

Arguments

x

object of class flowSet to be barcoded.

type

indicates whether the "samples", "events" or "both" should be barcoded, set "samples" by default.

Value

barcoded flowSet with "Sample ID" and/or "Event ID" column added and annotated.

Author

Dillon Hammill, Dillon.Hammill@anu.edu.au

Examples

# Load in CytoExploreRData to access files library(CytoExploreRData) # Load in samples fs <- Activation # Barcode cyto_barcode(fs)
#> A flowSet with 33 experiments. #> #> column names(19): FSC-A FSC-H ... Time Sample ID #>