ratio: Return ratio

Description Usage Arguments Details Value Author(s) Examples

Description

Return ratio from data set created by AnaquinData.

Usage

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

Arguments

object

S4 object created by AnaquinData

...

Not used

Details

This function takes an AnaquinData data set object and return its sequin ratio.

Value

List of sequin ratio 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)
ratio(anaquin)

Anaquin documentation built on May 31, 2017, 11:24 a.m.

Search within the Anaquin package
Search all R packages, documentation and source code