stackedData-methods {flowPlots}R Documentation

Method stackedData from Class "StackedData"

Description

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.

Usage

   # 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

Arguments

object

an object of the StackedData class

value

a replacement value

Value

data frame of stacked data.

Methods

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.

Author(s)

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

See Also

StackedData

Examples


## 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


[Package flowPlots version 1.32.0 Index]