Message-ID: <20110822140018.BMP01729@gimr.garvan.unsw.edu.au>
Date: 2011-08-22T04:00:18Z
From: Dario Strbenac
Subject: [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 :
> 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