Main Interface for Gene Expression Deconvolution Methods
ged(object, x, method, ...) S4 (MatrixData,ANY,GEDStrategy) `ged`(object, x, method, data = NULL, maxIter = 1, ..., verbose = cellmix.getOption("verbose"), wrap = TRUE) S4 (ANY,ANY,function) `ged`(object, x, method, ..., name = NULL)
matrix
or ExpressionSet
)MarkerList
.method
is missing, the value of this argument
can influence which method is selected. See section
Details.verbose=Inf
toggles debug mode (all messages).
Note that because it appears after ...
it must be
fully named.FALSE
, it is returned as is. Note that because it
appears after ...
it must be fully named.signature(object = "MatrixData", x =
"ANY", method = "GEDStrategy")
: Default ged
method apply the auto-selection scheme for determining
which method is suitable for the type of input data.
signature(object = "ANY", x = "ANY",
method = "character")
: Applies a deconvolution algorithm
registered in the CellMix registry.
signature(object = "ExpressionSet", x =
"ANY", method = "GEDStrategy")
: Defined to handle an
issue in S4 method dispatch in union classes, and makes
ged
works with objects from other packages that
inherit from ExpressionSet-class
, e.g.
LumiBatch
objects defined in the lumi
package.
See R-devel thread: https://stat.ethz.ch/pipermail/r-devel/2013-May/066609.html.
signature(object = "ANY", x = "ANY",
method = "missing")
: This method deconvolves the target
expression matrix using the algorithm selected by the
automatic selection strategy implemented by
selectGEDMethod
, which choose a suitable
algorithm whose data requirements match the provided
input data (i.e. arguments x
and optionally
data
). See some more details in the
selectGEDMethod
man page.
signature(object = "ANY", x = "ANY",
method = "function")
: Applies a custom gene expression
algorithm.
# random global expression data: 3 cell types, 20 samples, 100 features
X <- rmix(3, 100, 20, markers=5)
dim(X)
## Features Samples Components
## 100 20 3
# extract signature/proportion/markers
sig <- basis(X)
prop <- coef(X)
m <- getMarkers(X)
summary(m)
## Length Class Mode
## CL_1 5 -none- numeric
## CL_2 5 -none- numeric
## CL_3 5 -none- numeric
#--------------------------------------------
# Automatic selection of a suitable algorithm
#--------------------------------------------
# expression data only: fastdeconf
res <- ged(X, 3)
# with markers only, non iterative: qprog
res <- ged(X, m)
# with markers only, iterative: ssKL
res <- ged(X, m, maxIter=5)
# with signatures: lsfit
res <- ged(X, sig)
# with proportions: csSAM
res <- ged(X, prop)
# with proportions, iterative: DSection
## Not run:
##D if( require.quiet(RcppOctave) ){
##D # requires octave package statistics to be installed (for gamfit)
##D res <- ged(X, prop, maxIter=5)
##D }
## End(Not run)
selectGEDMethod