marginalData-methods {flowPlots} | R Documentation |
This function is a method of the StackedData class which can retrieve the marginalData from a StackedData object or which can assign the marginalData data slot of a StackedData object.
# Get the marginal data from a StackedData object marginalData(object) # Set the marginal data slot of a StackedData object ## S4 replacement method for signature 'StackedData' marginalData(object) <- value
object |
an object of the StackedData class |
value |
a replacement value |
data frame of marginal data.
signature(object="StackedData")
Get the value of the marginalData slot in the stackedDataObject.
signature(object = "StackedData", value = "data.frame")
Set the value of the marginalData slot in the stackedDataObject.
N. Hawkins, Fred Hutchinson Cancer Research Center, Seattle, WA
# Load the marginal data and set the marginal data slot data(marginalDF) # Create a stacked data object stackedDataObject = new("StackedData") # Set the marginal data slot marginalData(stackedDataObject) = marginalDF # Get the marginal data from the stacked data object marginalData = marginalData(stackedDataObject)