elementset_funs | R Documentation |
BiocSet
objectAll of the major methods applied to a BiocSet
object can
be explicitly applied to the elementset tibble. These functions bypass
the need to use the es_activate
function by indicating what
function should be used on the elementset tibble.
filter_elementset(.data, ...)
select_elementset(.data, ...)
mutate_elementset(.data, ...)
summarise_elementset(.data, ...)
arrange_elementset(.data, ...)
left_join_elementset(.data, ...)
tibble_from_elementset(.data)
data.frame_from_elementset(.data)
.data |
A |
... |
Additional arguments passed to the function. |
A BiocSet
object.
For tibble_from_elementset
, a tibble.
For data.frame_from_elementset
, a data.frame.
es <- BiocSet(set1 = letters, set2 = LETTERS)
filter_elementset(es, element == "a" | element == "A")
es %>% select_elementset(element)
es %>% mutate_elementset(pval = rnorm(1:52))
es %>% summarise_elementset(n = n())
es %>% arrange_elementset(desc(element))
tbl <- tibble(x = 5:6, y = c("set1", "set2"))
es %>% left_join_elementset(tbl, by = c(set = "y"))
tibble_from_elementset(es)
data.frame_from_elementset(es)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.