Description Usage Arguments Value Methods Author(s) See Also Examples
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.
1 2 3 4 5 6 7 8 | # 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
1 2 3 4 5 6 7 8 9 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.