Dear bioC support,
I have constructed a list of IRanges named rl:
Now I realized that there is already a RangesList class in the IRanges package that I could use instead of the "primitive" list. Problem: I used dlply() from the plyr package to construct the list and I do not see how I could use the RangesList constructor function in the split+apply+combine context. But one can coerce a RangedList to a list by as. list(), Now I was wondering, is there a function that does the opposite?
> sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: macOS Sierra 10.12.3 locale:  C attached base packages:  parallel stats4 stats graphics grDevices utils datasets methods base other attached packages:  lattice_0.20-34 plyr_1.8.4 Biostrings_2.42.1 XVector_0.14.0  IRanges_2.8.1 S4Vectors_0.12.1 BiocGenerics_0.20.0 loaded via a namespace (and not attached):  Rcpp_0.12.9 nloptr_1.0.4 MSstats_3.7.3 bitops_1.0-6  tools_3.3.2 zlibbioc_1.20.0 lme4_1.1-12 preprocessCore_1.36.0  tibble_1.2 nlme_3.1-130 gtable_0.2.0 Matrix_1.2-8  ggrepel_0.6.5 stringr_1.1.0 gtools_3.5.0 caTools_1.17.1  grid_3.3.2 marray_1.52.0 survival_2.40-1 minpack.lm_1.2-1  gdata_2.17.0 limma_3.30.9 minqa_1.2.4 ggplot2_2.2.1  reshape2_1.4.2 magrittr_1.5 scales_0.4.1 gplots_3.0.1  MASS_7.3-45 splines_3.3.2 assertthat_0.1 colorspace_1.3-2  KernSmooth_2.23-15 stringi_1.1.2 lazyeval_0.2.0 munsell_0.4.3 >