| markers-methods {flowPlots} | R Documentation |
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.
# Get the marker matrix from a StackedData object. markers(object) # Set the marker matrix slot of a StackedData object. ## S4 replacement method for signature 'StackedData' markers(object) <- value
object |
an object of the StackedData class |
value |
a replacement value |
matrix of markers data.
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.
N. Hawkins, Fred Hutchinson Cancer Research Center, Seattle, WA
# 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)