stackedData-methods: Method stackedData 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 stackedData from a StackedData object or which assigns the stackedData data slot of a StackedData object.

Usage

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## 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

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