Learn R Programming

flowPlots (version 1.20.0)

markers-methods: Method markers from Class "StackedData"

Description

This function is a method of the StackedData class which retrieves the markers from a StackedData object or which assigns the markers data slot of a StackedData object.

Usage

# Get the marker matrix from a StackedData object. markers(object)
# Set the marker matrix slot of a StackedData object. "markers"(object) <- value

Arguments

object
an object of the StackedData class
value
a replacement value

Value

matrix of markers data.

Methods

signature(object = "StackedData")
Get the marker matrix from the object.
signature(object = "StackedData", value = "matrix")
Set the value of the markers data slot in the object.

See Also

StackedData, markers

Examples

Run this code

# Load the marker data and set the marker data slot
data(markerMatrix)

# Create a stacked data object
stackedDataObject = new("StackedData")

# Set the marker data slot
markers(stackedDataObject) = markerMatrix

# Get the marker data from the stacked data object
markers = markers(stackedDataObject)

Run the code above in your browser using DataLab