Learn R Programming

flowPlots (version 1.20.0)

profileData-methods: Method profileData from Class "StackedData"

Description

This function is a method of the StackedData class which retrieves the profileData from a StackedData object or which assigns the profileData data slot of a StackedData object.

Usage

# Get the profileData from a StackedData object. profileData(object)
# Set the profileData slot of a StackedData object. "profileData"(object) <- value

Arguments

object
an object of the StackedData class
value
a replacement value

Value

data frame of profile data.

Methods

signature(object = "StackedData")
Get the profileData from the object.
signature(object = "StackedData", value = "data.frame")
Set the value of the profileData slot in the object.

See Also

StackedData, profileData

Examples

Run this code

# Load the profile data, create a stackedData object and set the profile data slot
data(profileDF)
# Create a stacked data object
stackedDataObject = new("StackedData")
# Set the profile data slot
profileData(stackedDataObject) = profileDF

# Get the profile data from the stacked data object
profileData = profileData(stackedDataObject)

Run the code above in your browser using DataLab