Learn R Programming

blima (version 1.6.0)

plotBackgroundImageBeforeCorrection: Plot background image before correction

Description

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

Usage

plotBackgroundImageBeforeCorrection(b, index, channelForeground = "GrnF", channelBackground = "GrnB", 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.
includePearson
Include Pearson corelation.

Examples

Run this code
if(require("blimaTestingData") && interactive())
{
    #Write background images before 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)
    plotBackgroundImageBeforeCorrection(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