plotBeadLocations {beadarray} | R Documentation

## Show bead locations

### Description

Shows location of a set of beads on an array. The beads can either be defined to be all beads with particular ProbeIDs or individual beadIDs

### Usage

    plotBeadLocations(BLData, ProbeIDs = NULL, BeadIDs = NULL, array = 1,
                       SAM = FALSE, xlab = "x-coordinate",
                       ylab = "y-coordinate",
                       main = paste("Bead", ProbeIDs,"locations"), ...)

### Arguments

`BLData` | a BeadLevelList object
`ProbeIDs` | a vector of ProbeIDs to plot
`BeadIDs` | a vector of beadIDs to plot
`array` | numeric value specifying the array
`SAM` | if TRUE then the data is assumed to be taken from a SAM array and therefore hexagonal
`xlab` | character string specifying x-axis label
`ylab` | character string specifying y-axis label
`main` | character string specifying plot title
`...` | further graphical parameters to `plot`

### Details

The outline of the hexagonal array is drawn and the locations of the specified beads are overlayed.

### Value

Plot is produced on the current graphical device.

### Author(s)

Mark Dunning

### Examples

    data(BLData)

    #plot all beads with ProbeID 2 on array 1
    plotBeadLocations(BLData, array=1, ProbeIDs=2, SAM=TRUE)

    #find all outliers on the first array and plot their locations
    o=findAllOutliers(BLData, 1)
    plotBeadLocations(BLData, BeadIDs=o, array=1, SAM=TRUE)

[Package beadarray version 1.6.0 Index]