Score-class {RegEnrich} | R Documentation |
'Score' class inherits tibble ("tbl"). The objects of 'Score' class are to store information of regulator ranking scores.
newScore( reg = character(), negLogPDEA = numeric(), negLogPEnrich = numeric(), logFC = numeric(), score = numeric() )
reg |
character, regulator IDs. |
negLogPDEA |
numeric, -log(p_DEA). |
negLogPEnrich |
numeric, -log(p_Enrich). |
logFC |
numeric, log2 fold change. |
score |
numeric, RegEnrich ranking score. |
newScore function returns a Score
object.
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.
newScore() newScore(letters[1:5], 1:5, 1:5, -2:2, seq(2, 1, len = 5))