addRanks {PCBS}R 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)

[Package PCBS version 0.1.0 Index]