Score: Score class

Description Usage Arguments Value Slots Examples

Description

'Score' class inherits tibble ("tbl"). The objects of 'Score' class are to store information of regulator ranking scores.

Usage

1
2
3
4
5
6
7
newScore(
  reg = character(),
  negLogPDEA = numeric(),
  negLogPEnrich = numeric(),
  logFC = numeric(),
  score = numeric()
)

Arguments

reg

character, regulator IDs.

negLogPDEA

numeric, -log(p_DEA).

negLogPEnrich

numeric, -log(p_Enrich).

logFC

numeric, log2 fold change.

score

numeric, RegEnrich ranking score.

Value

newScore function returns a Score object.

Slots

names

character vector, containing "reg", "negLogPDEA", "negLogPEnrich", "logFC", and "score".

.Data

a list of length 5, each elements corresponds to the names slots.

row.names

character, regulators corresponding to .Data slot.

.S3Class

character vector, containing "tbl_df", "tbl", "data.frame", indicating the classes that 'Score' class inherits.

Examples

1
2
newScore()
newScore(letters[1:5], 1:5, 1:5, -2:2, seq(2, 1, len = 5))

RegEnrich documentation built on March 7, 2021, 2 a.m.