Skip to content
Back to formatted view

Raw Message

Message-ID: <B037D4BA-1711-4C9C-9921-19FDD419BE6D@gmail.com>
Date: 2013-10-06T15:05:12Z
From: Tim Triche, Jr.
Subject: [Bioc-devel] could bsseq::data.frame2GRanges be added to GenomicRanges
In-Reply-To: <CAC2h7uvjHt8McgmRz4an_FfOJZnNraSGpR-S8aucPKM-dfWqLQ@mail.gmail.com>

+1

--t

> On Oct 6, 2013, at 6:28 AM, Kasper Daniel Hansen <kasperdanielhansen at gmail.com> wrote:
> 
> bsseq::data.frame2GRanges does the obvious step of converting a data.frame
> to GRanges.  It has a couple of bells and whistles where strand can be
> ignored and additional columns (apart from genomic location) may be ignore
> in the output object.
> 
> I (and now quite a few other people) use this function almost every day.  I
> have seen other implementations in other packages, suggesting this is not
> just something I (we) use.
> 
> I suggests adding this function to GenomicRanges.  I am happy to support it
> going forward.
> 
> Using this function we could also add an as(x, "GRanges") method for
> x=data.frame, but I still suggest keeping the basic function for the
> extended functionality it provides.
> 
> Best,
> Kasper
> 
>    [[alternative HTML version deleted]]
> 
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel