get_default_slice_id {teal.slice} | R Documentation |
Default teal_slice
id
Description
Create a slice id if none provided.
Usage
get_default_slice_id(x)
Arguments
x |
( |
Details
Function returns a default id
for a teal_slice
object which needs
to be distinct from other teal_slice
objects created for any
FilterStates
object. Returned id
can be treated as a location of
a vector on which FilterState
is built:
for a
data.frame
id
concatenatesdataname
andvarname
.for a
MultiAssayExperiment
id
concatenatesdataname
,varname
,experiment
andarg
, so that one can addteal_slice
for avarname
which exists in multipleSummarizedExperiment
s or exists in bothcolData
androwData
of given experiment. For such a vectorteal.slice
doesn't allow to activate more than one filters. In case ofteal_slice_expr
id
is mandatory and must be unique.
Value
(character(1)
) id
for a teal_slice
object.