Learn R Programming

flowPlots (version 1.20.0)

marginalData-methods: Method marginalData from Class "StackedData"

Description

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.

Usage

# Get the marginal data from a StackedData object marginalData(object)
# Set the marginal data slot of a StackedData object "marginalData"(object) <- value

Arguments

object
an object of the StackedData class
value
a replacement value

Value

data frame of marginal data.

Methods

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.

See Also

StackedData, marginalData

Examples

Run this code
# 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)

Run the code above in your browser using DataLab