Learn R Programming

beadarray (version 2.22.2)

plotBeadLocations: Plot bead locations

Description

Can plot where specified beads, or bead types were located on the array surface

Usage

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

Arguments

BLData
a beadLevelData object
ProbeIDs
a list of ArrayAddress IDs to plot
BeadIDs
a list of beads (rows in the beadLevelData object) to plot
array
the number of the section to plot
SAM
if TRUE the array is treated as a Sentrix Array Matrix (hexagonal)
xCol
column name for the x coordinates
yCol
column name for the x coordinates
xlab
optional label for the x axis
ylab
optional label for the y axis
horizontal
if TRUE the longest edge of the array surface will be plotted on the x axis
main
an optional title for the plot
...
any arguments to be passed to plots

Value

plot to current graphical device

Examples

Run this code

if(require(beadarrayExampleData)){

data(exampleBLData)

##Plot location of first 100 beads as they are listed in beadLevelData object

plotBeadLocations(exampleBLData, BeadIDs = 1:100, array=1, horizontal = FALSE)



}


Run the code above in your browser using DataLab