chromDict {PCBS}R Documentation

Convert a rank object into a chromDict.

Description

Internal to many functions; creates a chromDict for faster computing times. chromDict can be run separately to speed up functions run iteratively. A chromDict is a list of chromosome-specific data.tables generated from ranks.

Usage

chromDict(ranks)

Arguments

ranks

getPCRanks output data frame

Value

Returns a list of data.tables for each chromosome, for faster analysis. Used internall by many PCBS functions.

Examples

ranks <- getPCRanks(eigen, IDs = c("trt", "ctl"), PC = 1)
chromDictObj <- chromDict(ranks)

[Package PCBS version 0.1.0 Index]