plotBeadIntensities: Plotting the intensities of selected beads on a section

Description Usage Arguments Details Value Author(s) Examples

View source: R/beadLevelData_QC.R

Description

The function will plot the intensities of selected beads on a specified array

Usage

1
plotBeadIntensities(BLData, array = 1, BeadIDs, transFun = logGreenChannelTransform, cols = NULL, ...)

Arguments

BLData

a beadLevelData object

array

numeric specifying which array to plot the intensities from

BeadIDs

what ArrayAddress IDs to be plotted

transFun

function specifying what transformation to be applied to the beadLevelData prior to plotting

cols

a vector of colours to be used to plot each ID. If NULL the rainbow function is used to generate colours.

...

other argument that may be passed along to plot.

Details

The function will take all data from the specified section, apply the transformation (the default is to do log2) and then find the subset of beads that have the specified ID. These IDs should match the numeric ArrayAddress IDs that are stored in the beadLevelData object.

Value

Plot is produced on current graphical device.

Author(s)

Mark Dunning

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
if(require(beadarrayExampleData)){


data(exampleBLData)

randIDs = sample(getBeadData(exampleBLData, array=1, what="ProbeID"),10)

plotBeadIntensities(exampleBLData, array=1, BeadIDs = randIDs)

}

beadarray documentation built on Nov. 8, 2020, 4:51 p.m.