.PropagateList | R Documentation |
Propagate a List
.PropagateList(x, names, default = NA)
x |
A list or character vector |
names |
A vector of names to keep from |
default |
A default value for unassigned values of |
A named list where the names are present in both x
and
names
and the values are either the values from x
or
default
.PropagateList("counts", c("RNA", "ADT", "SCT"))
.PropagateList(c("counts", "data"), c("RNA", "ADT", "SCT"))
.PropagateList("ADT", c("RNA", "ADT", "SCT"))
.PropagateList(c("RNA", "SCT"), c("RNA", "ADT", "SCT"))
.PropagateList(c("RNA", ADT = "counts"), c("RNA", "ADT", "SCT"))
.PropagateList(list(SCT = c("counts", "data"), ADT = "counts"), c("RNA", "ADT", "SCT"))
.PropagateList(list(SCT = c("counts", "data"), "ADT"), c("RNA", "ADT", "SCT"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.