R/intensity.plot.R

Defines functions intensity.plot intensity.plot

Documented in intensity.plot

## Copyright (C) 2004 Institut Curie
## Author(s): Pierre Neuvial (Institut Curie) 2004
## Contact: manor@curie.fr


intensity.plot <- function(...)
    UseMethod("intensity.plot")

intensity.plot <- function(arrayCGH, M.var="LogRatio", A.var="LogInt", pred.var="iPred", center.var=NULL) {
    data <- arrayCGH$arrayValues
    if (!is.null(center.var))
        data[[M.var]] <- center(data, M.var, center.var)
    plot(data[[A.var]], data[[M.var]], xlab="A", ylab="M", pch='.')
    points(data[[A.var]], data[[pred.var]], col="red", pch=".")
}

Try the MANOR package in your browser

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

MANOR documentation built on Nov. 8, 2020, 6:52 p.m.