[Bioc-devel] Interoperability between DataFrame and dplyr?

Vincent Carey stvjc at channing.harvard.edu
Fri Apr 24 01:32:34 CEST 2015


Seems to me that DataFrame is too flexible -- you can have very complex
objects in the columns (anything that inherits from Vector) with which, in
its current state, dplyr would not work too naturally.  You would wind up
doing a fair amount of coercion of such entities, so it seems to me that
arranging a coercion of DataFrames satisfying specific conditions to
data.frame would be a path of low resistance.

Ready to be corrected of course.


On Thu, Apr 23, 2015 at 7:06 PM, Ryan C. Thompson <rct at thompsonclan.org>
wrote:

> Hi all,
>
> So, dplyr is a pretty cool thing, but it currently works with data.frame
> and data.table, but not S4Vectors::DataFrame. I'd like to change that if
> possible, and I assume that this would "simply" involve writing some glue
> code. However, I'm not really sure where to start, and I expect things
> might be complicated because dplyr uses S3 and S4Vectors uses S4. Can
> anyone offer any pointers?
>
> -Ryan
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list