Description Usage Arguments Author(s) See Also Examples
Plots a location on a previously plotted cel image. This can be used to locate the physical location of probes on the array.
1 | plotLocation(x, col="green", pch=22, ...)
|
x |
a ‘location’. It can be obtained by the method of |
col |
colors for the plot. |
pch |
plotting type (see function |
... |
other parameters passed to the function |
Laurent
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | if (require(affydata)) {
data(Dilution)
## image of the celfile
image(Dilution[, 1])
## genenames, arbitrarily pick the 101th
n <- geneNames(Dilution)[101]
## get the location for the gene n
l <- indexProbes(Dilution, "both", n)[[1]]
## convert the index to X/Y coordinates
xy <- indices2xy(l, abatch=Dilution)
## plot
plotLocation(xy)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.