Return q-value probability

Share:

Description

Return q-value probability from data set created by AnaquinData.

Usage

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

Arguments

object

S4 object created by AnaquinData

...

Not used

Details

This function takes an AnaquinData object and return it's q-value probability.

Value

List of q-value proability 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
21
22
23
24
data(UserGuideData_5.6.3)

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

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

# Measured average abundance
measured <- UserGuideData_5.6.3$Mean

# P-value
pv <- UserGuideData_5.6.3$Pval

# Q-value
qv <- UserGuideData_5.6.3$Qval

anaquin <- AnaquinData(analysis='PlotLODR',
                           seqs=seqs,
                      measured=measured,
                         ratio=ratio,
                          pval=pv,
                          qval=qv)
qval(anaquin)