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

Usage

1
2
3
4
5
6
7
   # Get the pfdPartsData from a Stacked Data object.
   pfdPartsData(object)    
 
   # Set the pfdPartsData of a Stacked Data object.
   ## S4 replacement method for signature 'StackedData'
pfdPartsData(object) <- value
 

Arguments

object

an object of the StackedData class

value

a replacement value

Value

a list. Each element of the list is a data frame containing the component percents for a given degree of polyfunctionality (PFD), except for the max PFD since there is only one possible combination for the max PFD.

Methods

signature(object = "StackedData")

Get the pfdPartsData from the object.

signature(object = "StackedData", value = "list")

Set the value of the pfdPartsData slot in the object.

Author(s)

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

See Also

StackedData, pfdPartsData

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Load the pfdParts data and set the pfdParts data slot
data(pfdPartsList)

# Create a stacked data object
stackedDataObject = new("StackedData")

# Set the pfdParts data slot
pfdPartsData(stackedDataObject) = pfdPartsList

# Get the pfd parts data
pfdPartsData = pfdPartsData(stackedDataObject)

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