stackedData-methods {flowPlots} | R Documentation |
This function is a method of the StackedData class which retrieves the stackedData from a StackedData object or which assigns the stackedData data slot of a StackedData object.
# Get the stacked data from the StackedData object stackedData(object) # Set the stacked data slot of a StackedData object ## S4 replacement method for signature 'StackedData' stackedData(object) <- value
object |
an object of the StackedData class |
value |
a replacement value |
data frame of stacked data.
signature(object = "StackedData")
Get the stackedData from the object.
signature(object = "StackedData", value = "data.frame")
Set the value of the stackedData slot in the object.
N. Hawkins, Fred Hutchinson Cancer Research Center, Seattle, WA
## Set the stacked data slot WHILE creating a new stacked data object # Load stacked data data(adultsNeonates) # Create a stacked data object stackedDataObject = new("StackedData", stackedData=adultsNeonates) ## Set the stacked data slot AFTER creating a new stacked data object # Load stacked data data(adultsNeonates) # Create a stacked data object stackedDataObject = new("StackedData") # Set the stacked data slot stackedData(stackedDataObject) = adultsNeonates ## Set the stacked data slot after creating a new stacked data object stackedDataFrame = readStackedData(fileName=system.file("extdata","adultsNeonates.csv", package="flowPlots")) stackedDataObject = new("StackedData") stackedData(stackedDataObject) = stackedDataFrame