listPredPwr: List Predicted Power

Description Usage Arguments Value Examples

View source: R/listPower.R

Description

show a top-list of predicted power in numerical order, or list the power selected genes/proteins.

Usage

1
listPredPwr(inputObject, decreasing = TRUE, top = 20, selected = NA)

Arguments

inputObject

the input inputObject.

decreasing

logical; TRUE, decreasing order; FALSE, increasing order.

top

the number of genes/proteins in the top list

selected

default as NA; specify as a list of geneID or protein ID to show power of a list of interested records.

Value

a top list of power / power of a list of interested genes or proteins for each sample size

Examples

1
2
3
4
5
6
7
8
9
data(exampleObject)
# show 10 top genes with high power (decreasing order)
listPredPwr(exampleObject, decreasing = TRUE, top = 10)

# show a list of interested genes
listPredPwr(exampleObject, 
            selected = c("ENSMUSG00000000303", 
                         "ENSMUSG00000087272", 
                         "ENSMUSG00000089921"))

PowerExplorer documentation built on April 28, 2020, 9:03 p.m.