getTopFeatures,SummarizedExperiment-method {PDATK} | R Documentation

## Get the Top Ranked Features in a `SummarizedExperiment` object

### Description

Get the Top Ranked Features in a `SummarizedExperiment` object

### Usage

    ## S4 method for signature 'SummarizedExperiment'
    getTopFeatures(object, numFeats, ..., rankCol = "feature_rank")

### Arguments

`object` | A `SummarizedExperiment` to extract top features from
`numFeats` | An `integer` number of top ranked features to extract.
`...` | Fall through arguments to `rankFeatures`, which is used to calculate the ranks if `rankCol` is not present the object `rowData`.
`rankCol` | The name of the column containing the integer feature ranks. Defaults to `feature_rank`, as calculated with `rankFeatures`, but users can alternatively specify their own custom rank column if desired.

### Value

A `character` vector of top ranked features, with the features in order of rank ascending.

### Examples

    data(sampleICGCmicro)
    getTopFeatures(sampleICGCmicro, numFeats=20)

[Package PDATK version 1.2.0 Index]