The functions described here are dedicated to gene expression deconvolution of blood samples (i.e. whole blood or PBMCs).
gedBlood
uses the methodology defined by
Abbas et al. (2009), which uses a fixed set of 17
cell type-specific signatures to estimate cell
proportions in blood samples. Each signature corresponds
to a white blood cell in resting or activated state (See
section Details).
asCBC
has methods defined for NMF
models
and Markerlist
objects. See each method's
description for more details.
refCBC
is a numeric vector that contains average
Complete Blood Count proportions (CBC) in healthy
persons, based on empirical studies in healthy patients.
It contains proportions for Basophils, Lymphocytes,
Eosinophils, Neutrophils and Monocytes.
gCBC
generates a matrix of average Complete Blood
Count proportions (CBC) for a given number of samples.
The default proportions are based on empirical studies in
healthy patients (see refCBC
), and each
sample get assigned the same proportions.
gedBlood(object, method = "lsfit", CLsubset = c("WB", "PBMCs"), ..., normalize = TRUE, verbose = FALSE) asCBC(object, ...) S4 (character) `asCBC`(object, drop = FALSE, quiet = FALSE) S4 (NMF) `asCBC`(object, drop = TRUE, ...) S4 (matrix) `asCBC`(object, margin = 1, drop = TRUE, ...) refCBC gCBC(n = 1, sampleNames = NULL, counts = NULL)
ged
. For asCBC
, an
object for with suitable asCBC
method defined.Abbas
basis signature
matrix (see examples for how to list them). In addition,
this argument accepts the following values for indicating
composite cell subsets:
"WB"
for Whole blood, which
includes all signatures (default).
"PBMCs"
for Peripheral Blood Mononuclear
Cells, which exclude the Neutrophil signature. gedProportions
.object
that cannot be mapped to a cell type should
be removed from the returned mapping.FALSE
, then an
error is thrown if none of the elements can be mapped,
or, if in addition drop=FALSE
, a warning is thrown
if only some of the elements could be mapped.margin=1L
or column
names if margin=2L
).n
.verbose=Inf
toggles debug mode (all messages).
Note that because it appears after ...
it must be
fully named.Named num [1:5] 0.005 0.295 0.03 0.57 0.1 - attr(*, "names")= chr [1:5] "Basophils" "Lymphocytes" "Eosinophils" "Neutrophils" ...
The signatures used by gedBlood
were designed by
Abbas et al. (2009) to optimise their
deconvolution power. They are available in the
CellMix as dataset Abbas
.
gedBlood
is currently essentially a shortcut for
gedProportions(object, Abbas, ...)
, see
gedProportions
for details on other
possible arguments.
Currently asCBC
methods will correctly work only
on objects that have cell types that match exactly names
of signatures in the Abbas
dataset.
signature(object = "character")
: This
is the workhorse method that maps immune/blood cell type
names to the CBC cell types: Monocytes, Basophils,
Lymphocytes, Neutrophils and Eosinophils.
It returns a factor, whose names are elements of
object
and the values are their corresponding CBC
cell type. If drop=FALSE
the result is of the same
length as object
, otherwise it only contains
elements that could be mappped to a cell type.
signature(object = "NMF")
: The result
of gene expression deconvolution performed by
ged
are stored in
NMFstd-class
model objects, which contain
the cell type-specific signatures and/or cell relative
proportions.
This method aggregates, i.e. sums up, the cell proportions and averages the signatures of cell types from each of the CBC groups that are available in the data.
signature(object = "matrix")
:
Aggregates along given margin: sum across rows or average
across columns.
signature(object = "MarkerList")
:
This method combines markers of cell types that belong to
the same CBC group.
Abbas AR, Wolslegel K, Seshasayee D, Modrusan Z and Clark
HF (2009). "Deconvolution of blood microarray data
identifies cellular activation patterns in systemic lupus
erythematosus." _PloS one_, *4*(7), pp. e6098. ISSN
1932-6203,