dropvalues
Drops the values associated with each
marker (e.g. tissue specificity score), and returns an
object of the same type as the input object. It is a
shorcut for marknames(object,
unlist=FALSE)
.
mltype
returns the type of marker list or compare
it with a given type:
MarkerList
object. rmDuplicated
remove marker identifiers that are
duplicated either within or between sets. Arguments in
...
are not used.
hasDuplicated
checks for duplicated identifiers
across sets.
reverse
reverse is an S4 method to reverse an
object. For MarkerList
object, it reverse the
order of markers within each set seprately, and
optionally the order of the set in the list.
nmark
returns the number of markers for each
cell-type. It accepts any object as an input, but is
generally called on an MarkerList
object or an
object with an attached MarkerList
object (see
methods getMarkers
and attachMarkers
).
dropvalues(object, ..., int.ok = TRUE) mltype(object, type = c("character", "numeric", "integer", "logical")) rmDuplicated(object, ...) hasDuplicated(object, which = FALSE) reverse(object, ...) S4 (MarkerList) `reverse`(object, all = FALSE) nmark(object, ...) S4 (list) `nmark`(object, each = FALSE) S4 (MarkerList) `drop`(x)
MarkerList
objects.which=TRUE
and no duplicates exist then
NULL
is returned.signature(x = "MarkerList")
:
drop
drops empty sets of markers from a
MarkerList
object, as well as markers with
FALSE
values if the object is a logical marker
list. It returns the reduced MarkerList
object.
signature(object = "list")
: The
method for lists, including MarkerList
objects
returns the total number of markers, or optionaly its
breakdown per set of markers.
signature(object = "ANY")
: The
default method tries to extract embedded marker data from
object
using getMarkers
, and returns
the result of nmark
applied to these data if
present or 0L otherwise.