cyto_markers: Extract marker names

Description Usage Arguments Value Author(s) See Also Examples

View source: R/cyto_channels-helpers.R

Description

Extract marker names

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'GatingSet'
cyto_markers(x, select = NULL, exclude = NULL, ...)

## S3 method for class 'GatingHierarchy'
cyto_markers(x, select = NULL, exclude = NULL, ...)

## S3 method for class 'flowSet'
cyto_markers(x, select = NULL, exclude = NULL, ...)

## S3 method for class 'flowFrame'
cyto_markers(x, select = NULL, exclude = NULL, ...)

Arguments

x

object of class flowFrame, flowSet, GatingHierarchy or GatingSet.

select

vector of channels or markers for which the channel/marker combinations should be returned.

exclude

vector of channels or markers for which the channel/marker combinations should not be returned.

...

additional arguments passed to grepl for character matching. For exact character string matching to override the default which ignores character case, set fixed to TRUE.

Value

vector of marker names or NULL if no markers have been assigned.

Author(s)

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

See Also

cyto_channels

cyto_fluor_channels

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
# Load in CytoExploreRData to access data
library(CytoExploreRData)

# Activation flowSet
fs <- Activation

# Activation GatingSet
gs <- GatingSet(fs)

# flowFrame
cyto_markers(fs[[1]])

# flowSet
cyto_markers(fs)

# GatingHierarchy
cyto_markers(gs[[1]])

# GatingSet
cyto_markers(gs)

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