Return scores

Share:

Description

Return scores from data set created by AnaquinData.

Usage

1
2
3
score(object, ...)
## S4 method for signature 'AnaquinData'
score(object)

Arguments

object

S4 object created by AnaquinData

...

Not used

Details

This function takes an AnaquinData object and return the ROC ranking scores.

Value

List of scores for each sequin. Return NULL if unavailable.

Author(s)

Ted Wong t.wong@garvan.org.au

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
data(UserGuideData_5.6.3)

# Sequin names
seqs <- row.names(UserGuideData_5.6.3)

# Expected log-fold
ratio <- UserGuideData_5.6.3$ExpLFC

# How the ROC curves are ranked
score <- 1-UserGuideData_5.6.3$Pval

# Classified labels (TP/FP)
label <- UserGuideData_5.6.3$Label

anaquin <- AnaquinData(analysis='PlotROC',
                           seqs=seqs,
                          ratio=ratio,
                          score=score,
                          label=label)
score(anaquin)