Description Usage Arguments Details Value Author(s) References Examples
Implementations of the SPLICE algorithm
1 2 3 | getRelSignStrength(x, tissue = as.factor(1:ncol(x)), fun = mean, nipt = 30, nitt = 30, ...)
getFinalRatio(x, tissue=as.factor(1:ncol(x)), fun=mean, ...)
|
x |
a matrix. One probe per line, one column per
sample. Typically this would be the slot |
tissue |
a covariate (factor) about the samples. |
fun |
a function to obtain a summary value ( |
nipt |
see reference. |
nitt |
see reference. |
... |
optional parameters for the function |
getFinalRatio
will call getRelSignStrength
. The
values are log-transformed. It is probably a good idea to avoid
feeding function with values that are already on log scale.
A matrix of the same dimension than the input x
, holding
'RSS' (Relative Signal Strength) or 'final ratios' respectively, as described in the reference. Two
attributes nip
and nit
are attached the returned matrix.
laurent@cbs.dtu.dk
Genome Research (2001), Hu et. al., vol. 11, p.1244
1 2 3 4 5 6 7 8 9 10 11 12 | data(spliceset)
## The intensity values in the example are log-transformed.
## Undo by taking the exponential
exprs(spliceset) <- exp(exprs(spliceset))
## Re-order the rows of different slots to have the probes sorted by
## position
spliceset <- sort.SpliceExprSet(spliceset)
## extract the expression matrix
expr.m <- exprs(spliceset)
fr <- getFinalRatio(expr.m, tissue=pData(spliceset@eset)[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.