markers-methods: Method markers from Class "StackedData"

Description Usage Arguments Value Methods Author(s) See Also Examples

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

1
2
3
4
5
6
7
   # 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
 

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.

Author(s)

N. Hawkins, Fred Hutchinson Cancer Research Center, Seattle, WA

See Also

StackedData, markers

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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)

flowPlots documentation built on Nov. 8, 2020, 7:54 p.m.