Skip to content
Prev 12803 / 21312 Next

[Bioc-devel] as.list of a GRanges

Hi Bernat,

Use as(gr, "GRangesList") instead of as.list() on your GRanges objects.

Most of the times (e.g. for passing to lapply() or mclapply()), you
don't need an ordinary list, but, if you really want one, you can call
as.list() on the GRangesList object returned by as(gr, "GRangesList").

Hope this helps,
H.
On 02/15/2018 12:05 AM, Bernat Gel wrote: