plotPredPwr {PowerExplorer} | R Documentation |
With a complete power list and LFC list returned from
predictPower
, power estimates can be observed dynamically
within specified LFC ranges.
plotPredPwr(inputObject, minLFC, maxLFC, LFCscale = 1)
inputObject |
a result container object
|
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 |
plot(s) of power density under multiple sample sizes
# 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)