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

bed_glyph only allows x and y as dataframe names? #318

Closed
nemartins opened this Issue Jan 16, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@nemartins

nemartins commented Jan 16, 2018

Can you confirm this behaviour?
It should be possible to generate glyphs from dataframes with arbitrary names, not only x and y.

@jayhesselberth

This comment has been minimized.

Collaborator

jayhesselberth commented Jan 16, 2018

library(valr)

a <- trbl_interval(
  ~chrom, ~start, ~end,
  'chr1', 25,     50,
  'chr1', 100,    125
)

b <- trbl_interval(
  ~chrom, ~start, ~end, ~value,
  'chr1', 30,     75,  50
)

bed_glyph(bed_intersect(a, b))
#> Error in get(args_req[i], env): object 'x' not found

Created on 2018-01-21 by the reprex package (v0.1.1.9000).

kriemo added a commit to kriemo/valr that referenced this issue Jan 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment