Skip to contents

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


splitDiffFeatureGroups(diffFeatureGroups, checkValid = TRUE)



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.


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.


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

See also


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)