-
Notifications
You must be signed in to change notification settings - Fork 18
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
expand makeGRangesFromDataFrame functionality #32
base: devel
Are you sure you want to change the base?
Conversation
Thanks Marcel, I would expect all 3 forms to work:
but right now only the 1st one works. I would also expect this to fail but not in such an obscure way:
Seems like we should start by agreeing on what behavior we expect exactly. A good way to do this is to come up with a set of unit tests that cover all the situations we anticipate. I don't think Also from a package organization point of view I'd prefer if H. |
I should add that a GPos is a GRanges object so I wonder if we actually need 2 functions. Given that a GPos object can generally be used in any place where a GRanges is expected it sounds like it would be acceptable if |
Hi Hervé, @hpages |
Hi Hervé, @hpages |
I was thinking of this functionality too. However, I do have difficulty in remembering the functions/arguments in many Bioconductor packages. Should |
Hi Hervé, @hpages
I thought something like this would be useful.
Let me know what you think.
Particularly for
inherits(x, "GenomicRanges")
, it could also workfor
GRanges
but I thoughtGenomicRanges
would be moregeneral.
GenomicRanges/R/GPos-class.R
Line 179 in 052f70f
Thanks,
Marcel