cyto_markers: Extract marker names

View source: R/cyto_channels-helpers.R

cyto_markersR Documentation

Extract marker names

Description

Extract marker names

Usage

## 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


# 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 March 2, 2023, 7:34 a.m.