Ah, neat. I was using as.list(grl) as my workaround, which is obviously slower.

>     The workaround is along the lines of
>
>     lapply(seq_len(length(grl)),
>           function(i, x, y, ...) print(x[[i]]),
>           grl, 1:2)
>
>   Since the mapply method is for List (Sequence in
>   release), another work-around is:
>
>   mapply(function(x, y) { print(x) print(y) }, grl,
>   IntegerList(1, 2), simplify=FALSE)

--------------------------------------
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
Australia

_______________________________________________
Bioc-sig-sequencing mailing list
Bioc-sig-sequencing@r-project.org
https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing

Reply via email to