plotBackgroundImageAfterCorrection {blima} | R Documentation

## 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.

### Author(s)

Vojtěch Kulvait

### Examples

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

[Package blima version 1.24.0 Index]