setMethod("heatmap", signature(x="CCProfile", y="missing"),
function(x, y, ...)
{
if (nrow(x@profiles) < 3)
stop("at least three profiles are required for ",
"plotting a heatmap")
heatmap(as(x, "PredictionProfile"), ...)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.