filterXY <-
function(methLumi_data){
probeXY <- fData(methLumi_data)$TargetID[ which(fData(methLumi_data)$CHR=="Y" | fData(methLumi_data)$CHR=="X") ]
indexXY <- which(is.element(featureNames(methLumi_data), probeXY))
rm(probeXY)
if(length(indexXY) > 0) methLumi_data <- methLumi_data[-indexXY,]
print(paste("Nb probes on X & Y chr to remove: ", length(indexXY), sep=""))
return(methLumi_data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.