[Bioc-sig-seq] rdapply(): Going from RangedData to RangedData (not to list)

Ivan Gregoretti ivangreg at gmail.com
Tue Apr 27 20:32:29 CEST 2010


Hello listers,

Can anybody show how to consolidate the list output of rdapply to RangedData?



rdapply accepts a RangedData objects and outputs a list. That may be
inconvenient and that is why there is the
reducerFun argument to help you undo that list.

The vignette shows an example where a list of numbers is coerced into
a vector of numbers. It is done quite simply with

reducerFun = unlist,
reducerParams = list(use.names = FALSE)

Well, that is simple if, like in the example, the elements of the
lists are just integers. What if the elements of the list are
RangedData?

Can anybody show an example? I tried and failed.

Thank you

Ivan

Ivan Gregoretti, PhD
National Institute of Diabetes and Digestive and Kidney Diseases
National Institutes of Health



More information about the Bioc-sig-sequencing mailing list