Learn R Programming

blima (version 1.6.0)

plotBackgroundImageAfterCorrection: Plot background image after correction

Description

This function plots image of background distribution versus to foreground after background subtraction.

Usage

plotBackgroundImageAfterCorrection(b, index, channelForeground = "GrnF", channelBackground = "GrnB", SDMultiple = 3, includePearson = FALSE)

Arguments

b
Single beadLevelData object.
index
Index of spot to generate.
channelForeground
Name of channel of foreground.
channelBackground
Name of channel of background.
SDMultiple
Correct on this level.
includePearson
Include Pearson corelation.

Examples

Run this code
if(require("blimaTestingData") && interactive())
{
    #Write background images after correction. This function prints graph for condition D4. Call dev.off() to close.
    data(blimatesting)
    p = pData(blimatesting[[2]]@experimentData$phenoData)
    index = base::match("D4", p$Name)
    plotBackgroundImageAfterCorrection(blimatesting[[2]], index)
}else
{
    print("To run this example, please install blimaTestingData package from bioconductor by running biocLite('blimaTestingData').");
}

Run the code above in your browser using DataLab