R/heatmap-methods.R

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"), ...)
    }
)

Try the procoil package in your browser

Any scripts or data that you put into this service are public.

procoil documentation built on Nov. 17, 2017, 11:21 a.m.