Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing start/end columns if spec is passed to bed_merge #288

Closed
jayhesselberth opened this issue Jul 16, 2017 · 0 comments · Fixed by #289
Assignees

Comments

@jayhesselberth
Copy link
Member

@jayhesselberth jayhesselberth commented Jul 16, 2017

library(valr)

x <- trbl_interval(
  ~chrom, ~start, ~end, ~value,
  "chr1", 100,    200,  100,
  "chr1", 150,    250,  200
)

bed_merge(x, .value = sum(value))
#> # A tibble: 1 x 2
#>   chrom .value
#>   <chr>  <dbl>
#> 1  chr1    300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.