Score-class {RegEnrich} | R Documentation

## Score class

### Description

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

### Usage

    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

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

[Package RegEnrich version 1.2.0 Index]