Skip to content
Prev 2719 / 21312 Next

[Bioc-devel] GRangesList Drop All Element Metadata

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 :
[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