The functions documented here serve to generate marker
lists and MarkerList-class
objects. They
are useful to develop and test deconvolution methods that
use marker gene lists.
gmarkers
is the work horse generator function. It
can generate "fixed" or random plain list of marker,
optionnally with names and/or values.
This is a shortcut for MarkerList(gmarkers(...))
It is a shorcut for gmarkers(..., shuffle=TRUE)
.
This is a shortcut for MarkerList(rmarkers(...))
gmarkers(n, k = -3, names = FALSE, values = FALSE, shuffle = FALSE) gMarkerList(...) rmarkers(...) rMarkerList(...)
k=-3
generates a first set of 3 markers (=3 x 1), a second set
with 6 (= 2 x 3), a third with 9 (= 3 x 3), and so long.shuffle
) and values
is a numeric
vector, then it must contain at least as many unique
elements as markers in the whole generated list.gmarkers
.