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

Description Usage Arguments Value Author(s) Examples

View source: R/cyto-helpers.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
# Load in CytoExploreRData to access files
library(CytoExploreRData)

# Load in samples
fs <- Activation

# Barcode
cyto_barcode(fs)

DillonHammill/CytoExploreR documentation built on July 9, 2020, 1:53 a.m.