[BioC] plot.ProbeSet

Peter Lee peter.d.lee at mcgill.ca
Wed Sep 8 17:45:25 CEST 2004


How do I fix this?
When I reinstalled the latest versions, all that's contained in 
/usr/local/lib/R/library/affy/R-ex/plot.Probeset.R is:

-----------------------------------
### Name: plot.ProbeSet
### Title: plot a probe set
### Aliases: plot.ProbeSet
### Keywords: hplot

### ** Examples

data(SpikeIn)
plot(SpikeIn)
-----------------------------------

Help?

Peter

On Jun 18, 2004, at 4:45 AM, Chang, Kai-Ming wrote:

> Hi,
>
> I tried to plot the mismatch values of a probset, but got the message
>
>> plot(ps[[1]],which="mm")
> Error in range(c(f(x)), na.rm = TRUE) : couldn't find function "f"
>
>
> I think there should be a mistake in plot.ProbeSet function
>
> 	> plot.ProbeSet
> 	function (x, which = c("pm", "mm"), xlab = "probes", type = "l",
> 	    ylim = NULL, ...)
> 	{
> 	    which <- match.arg(which)
> 	    if (which == "pm")
> 	        f <- getMethod("pm", "ProbeSet")
> ---->	    else g <- getMethod("mm", "ProbeSet")
> 	    if (is.null(ylim))
> 	        ylim = range(c(f(x)), na.rm = TRUE)
> 	    if (is.na(xlab))
> 	        xlab = "probes"
> 	    matplot(f(x), xlab = xlab, type = type, ylim = ylim, ...)
> 	}
>
> It should be
>
> 	    else f <- getMethod("mm", "ProbeSet")
>
>
>
>
>
>
>
>
> Thank you very much.
>
> Kind Regards,
>
> Kai
>
>
> Kai-Ming Chang
> AstraZeneca,
> Alderley Park
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list