General:
Tools | Description |
---|---|
flank | Create new intervals from the flanks of existing intervals. |
slop | Adjust the size of intervals. |
shift | Adjust the position of intervals. |
subtract | Remove intervals based on overlaps b/w two files. |
// VERSION 1 - Arrays | |
// 1 It should have a place to store todos | |
// 2 It should have a way to display todos | |
// 3 It should have a way to add new todos | |
// 4 It should have a way to change a todo | |
// 5 It should have a way to delete a todo | |
/*-------------------------------------*/ |
# What's the most natural way to express this code in base R? | |
library(dplyr, warn.conflicts = FALSE) | |
mtcars %>% | |
group_by(cyl) %>% | |
summarise(mean = mean(disp), n = n()) | |
#> # A tibble: 3 x 3 | |
#> cyl mean n | |
#> <dbl> <dbl> <int> | |
#> 1 4 105. 11 | |
#> 2 6 183. 7 |