Description Usage Arguments Value Examples
All of the major methods applied to a BiocSet
object can
be explicitly applied to the element tibble. These functions bypass the
need to use the es_activate
function by indicating what function
should be used on the element tibble.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | filter_element(.data, ...)
select_element(.data, ...)
mutate_element(.data, ...)
summarise_element(.data, ...)
arrange_element(.data, ...)
left_join_element(.data, ...)
tibble_from_element(.data, how = unlist)
data.frame_from_element(.data, how = unlist)
|
.data |
A |
... |
Additional arguments passed to the function. |
how |
Multiple entries will become a list. |
A BiocSet
object.
For tibble_from_element
, a tibble.
For data.frame_from_element
, a data.frame.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | es <- BiocSet(set1 = letters, set2 = LETTERS)
filter_element(es, element == "a")
es %>% select_element(element)
es %>% mutate_element(pval = rnorm(1:52))
es %>% summarise_element(n = n())
es %>% arrange_element(desc(element))
tbl <- tibble(x = 1:5, y = letters[1:5])
es <- BiocSet(set1 = letters[c(1,3,5)], set2 = letters[c(2,4)])
left_join_element(es, tbl, by = c(element = "y"))
tibble_from_element(es)
data.frame_from_element(es)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.