Learn R Programming

simphony (version 1.0.3)

splitDiffFeatureGroups: Split differential featureGroups

Description

Split a diffFeatureGroups data.frame into a list of two featureGroups data.frames, which can then be passed to simphony().

Usage

splitDiffFeatureGroups(diffFeatureGroups, checkValid = TRUE)

Value

List of two data.tables with possible columns base, sd, amp, and phase, depending on the columns in diffFeatureGroups.

Arguments

diffFeatureGroups

data.frame with optional columns meanBase, dBase, meanSd, dSd, meanAmp, dAmp, meanPhase, and dPhase describing the changes in abundance between two conditions. Each row corresponds to a group of features.

checkValid

Logical for whether to only return rows for which both amplitudes are greater than or equal to zero and both standard deviations are greater than zero.

See Also

simphony()

Examples

Run this code
dGroups = data.frame(meanAmp = c(1, 1, 1, 1), dAmp = c(1, 1, 2, 2),
                     meanPhase = c(0, 0, 0, 0), dPhase = c(0, 3, 0, 3))
featureGroups = splitDiffFeatureGroups(dGroups)

Run the code above in your browser using DataLab