getTopRanking-methods {geNetClassifier} | R Documentation

## Gets a new ranking with the given top genes.

### Description

Returns a new ranking containing only the top genes of each class.

### Arguments

`object` | a GenesRanking
`numGenesClass` | integer. Number of genes per class.

### Methods

`getTopRanking(object, numGenesClass)`

### See Also

Main package function and classifier training: `geNetClassifier`
This method's class (`GenesRanking`) help page.

### Examples

    data(leukemiasClassifier) # Sample classifier

    # Sub-ranking with the top 10 genes:
    getTopRanking(leukemiasClassifier@genesRanking, 10)

[Package geNetClassifier version 1.28.0 Index]