Defines the best principle component to use for downstream analysis.

addRanks(ranks)

Arguments

ranks

getPCRanks output data frame.

Value

The input data.frame with rank order and absolute rank order columns.

Examples

ranks <- getPCRanks(eigen, IDs = c("trt", "ctl"))
ranks <- addRanks(ranks)