Learn R Programming

geNetClassifier (version 1.12.0)

getTopRanking-methods: 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

Run this code
data(leukemiasClassifier) # Sample classifier

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

Run the code above in your browser using DataLab