addRanks: Add ranks to eigenvector scores.

View source: R/addRanks.R

addRanksR Documentation

Add ranks to eigenvector scores.

Description

Defines the best principle component to use for downstream analysis.

Usage

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)

PCBS documentation built on Sept. 11, 2024, 6:11 p.m.

Related to addRanks in PCBS...