plotBackgroundImageBeforeCorrection {blima}R Documentation

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.

Author(s)

Vojtěch Kulvait

Examples

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 BiocManager::install('blimaTestingData').");
}

[Package blima version 1.16.0 Index]