top: Show top-ranking genes

Description Usage Arguments Examples

View source: R/top.R

Description

Sort, show and select top-ranking genes from a significance testing summary matrix.

Usage

1
2
3
4
5
6
7
8
  top( 
    mtp,
    sort.by="T",
    aux=NULL,
    n=Inf,
    decreasing=T,
    ...    # other options for sort.list
    )

Arguments

mtp

Multiple-testing objects, such as the result of bremt

sort.by

Sorting rules. Can be a vector of selected column names in sigsum and aux. Ordering is prioritized according to the given order (left first). A prefix "-" to the name reverses the direction of the sort.

aux

Additional columns to be appending the results. It has to be a dataframe or matrix in the same gene order as sigsum. It can contain non-numeric values. In addition to be displayed together, the columns of aux can be used in the sorting keys.

n

The number of rows shown. Any values outside 1:nrow(sigsum) (including non-numeric or NA) is interpreted as all rows.

decreasing

The default sorting direction, if the key is not prefixed by "-".

...

Other options for order

Examples

1
  ## see the 'quick tutorial'

pwirapati/acdx documentation built on Jan. 11, 2021, 12:31 a.m.