setMethod("pData", "SummarizedExperiment", function(object) {
as.data.frame(colData(object))
})
setMethod("colData", "ExpressionSet", function(x) {
as(pData(x), "DataFrame")
})
setMethod("sampleNames", "SummarizedExperiment", function(object) {
colnames(object)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.