DOI: 10.18129/B9.bioc.tspair    

This package is for version 3.8 of Bioconductor; for the stable, up-to-date release version, see tspair.

Top Scoring Pairs for Microarray Classification

Bioconductor version: 3.8

These functions calculate the pair of genes that show the maximum difference in ranking between two user specified groups. This "top scoring pair" maximizes the average of sensitivity and specificity over all rank based classifiers using a pair of genes in the data set. The advantage of classifying samples based on only the relative rank of a pair of genes is (a) the classifiers are much simpler and often more interpretable than more complicated classification schemes and (b) if arrays can be classified using only a pair of genes, PCR based tests could be used for classification of samples. See the references for the tspcalc() function for references regarding TSP classifiers.

Author: Jeffrey T. Leek <jtleek at jhu.edu>

Maintainer: Jeffrey T. Leek <jtleek at jhu.edu>

Citation (from within R, enter citation("tspair")):


To install this package, start R (version "3.5") and enter:

if (!requireNamespace("BiocManager", quietly = TRUE))

For older versions of R, please refer to the appropriate Bioconductor release.


To view documentation for the version of this package installed in your system, start R and enter:



PDF R Script tspTutorial
PDF   Reference Manual


biocViews Microarray, Software
Version 1.40.0
In Bioconductor since BioC 2.4 (R-2.9) (10 years)
License GPL-2
Depends R (>= 2.10), Biobase(>= 2.4.0)
Depends On Me
Imports Me
Suggests Me
Links To Me
Build Report  

Package Archives

Follow Installation instructions to use this package in your R session.

Source Package tspair_1.40.0.tar.gz
Windows Binary tspair_1.40.0.zip
Mac OS X 10.11 (El Capitan) tspair_1.40.0.tgz
Source Repository git clone https://git.bioconductor.org/packages/tspair
Source Repository (Developer Access) git clone git@git.bioconductor.org:packages/tspair
Package Short Url http://bioconductor.org/packages/tspair/
Package Downloads Report Download Stats

Documentation »


R / CRAN packages and documentation

Support »

Please read the posting guide. Post questions about Bioconductor to one of the following locations: