listPredPwr {PowerExplorer} | R Documentation |
show a top-list of predicted power in numerical order, or list the power selected genes/proteins.
listPredPwr(inputObject, decreasing = TRUE, top = 20, selected = NA)
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. |
a top list of power / power of a list of interested genes or proteins for each sample size
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"))