I am hoping that there is a faster way to get rid off all element metadata for GRanges in a GRangesList. This is the method that I understood from the documentation :
length(gene.exons)
[1] 22482
endoapply(gene.exons, function(x)
{
elementMetadata(x) <- NULL
x
})
But it runs for a while.
user system elapsed
654.64 4.04 658.87
What is the best way to do this ?
--------------------------------------
Dario Strbenac
Research Assistant
Cancer Epigenetics
Garvan Institute of Medical Research
Darlinghurst NSW 2010
Australia