ONA rotation by mean difference
ona.rotate.by.mean.RdComputes a dimensional reduction (rotation) such that the first dimension
passes through the means of two groups. Subsequent dimensions use SVD on
the deflated data. Thin wrapper around ena.rotate.by.mean;
kept for backward compatibility with existing ONA scripts.
Arguments
- x
A matrix or
ena.pointsdata table of ENA points (typically centered and normalized). Metadata columns are stripped automatically viaas.matrix.- groups
A list of length 2 (or more), each element being a length-2 list
list(a, b)whereaandbare logical vectors or character unit IDs identifying the two groups.- codes
Character vector of code names corresponding to columns of
x; used to label the rows of the returned rotation matrix.