[Bioc-devel] GRangesList Drop All Element Metadata
Dario Strbenac
D.Strbenac at garvan.org.au
Mon Aug 22 06:00:18 CEST 2011
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
More information about the Bioc-devel
mailing list