marginalData-methods {flowPlots}R Documentation

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
  ## S4 replacement method for signature 'StackedData'
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.

Author(s)

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

See Also

StackedData, marginalData

Examples

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


[Package flowPlots version 1.42.0 Index]