Hello,

I have a GRangesList and some of the GRanges elements of it are replicates that 
I'd like to pool together. I can't get the c() to work with GRanges that are in 
a GRangesList.

> summary(IPlist)
     Length       Class        Mode 
          8 GRangesList          S4
> tmp <- do.call(c, IPlist[1:2])
Error in do.call(c, IPlist[1:2]) : second argument must be a list

Is there a smarter way of achieving my use case than using c() ? I've got 
GenomicRanges 1.2.1.

Note that it also doesn't work if I have a standard list of GRanges.

> tmpList <- as.list(IPlist)
> tmp <- do.call(c, tmpList[1:2])
> length(tmp)
[1] 2

Thanks,
       Dario.

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

_______________________________________________
Bioc-sig-sequencing mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/bioc-sig-sequencing

Reply via email to