cyto_barcode: Barcode each file in a flowSet with a sample ID

View source: R/cyto-helpers.R

cyto_barcodeR Documentation

Barcode each file in a flowSet with a sample ID

Description

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

Usage

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(s)

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)

DillonHammill/CytoExploreR documentation built on March 2, 2023, 7:34 a.m.