plotPredPwr {PowerExplorer} | R Documentation

## Observe Predicted Power Within Different LFC Scales

### Description

With a complete power list and LFC list returned from `predictPower`, power estimates can be observed dynamically within specified LFC ranges.

### Usage

    plotPredPwr(inputObject, minLFC, maxLFC, LFCscale = 1)

### Arguments

`inputObject` | a result container object `PowerExplorerStorage`
`minLFC` | default as 0, the left edge of the LFC range within which genes will be included in the graph.
`maxLFC` | default as NA (the maximun value in data will be used) the right edge of the LFC range within which genes will be included in the graph.
`LFCscale` | the size of each unit when segmenting predicted power by LFC

### Value

plot(s) of power density under multiple sample sizes

### Examples

    # load an example onject containing
    # predicted power under different sample sizes
    data(exampleObject)
    plotPredPwr(exampleObject)
    plotPredPwr(exampleObject)
    #It is possible to observe power trend in different scales and ranges of LFCs
    plotPredPwr(exampleObject, minLFC=0, maxLFC=2, LFCscale=0.5)

[Package PowerExplorer version 1.2.2 Index]