rank_na: Rank the gene expression and Replace NA

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function computes the ranks of the gene expression within each row (within one profile) and replaces the NAs present in the dataset by a given value.

Usage

1
rank_na(dat, na = -1e+05)

Arguments

dat

A gene expression dataset under the form of a matrix.

na

The value by which the NAs should be replaced, by default -1e+05.

Value

A matrix of the same size as the matrix dat. The columns of this matrix contain the ranks of the gene expressions within each profile. In other words the ith row of the new matrix contains the ranks of the gene expression of the ith column of the matrix dat. If NA are present in the matrix dat, they won't be take into account as computing the ranks and will be replaced by the value na, which is, by default, -1e+05.

Author(s)

Julien Damond julien.damond@gmail.com

References

D. Geman, C. d'Avignon, D. Naiman and R. Winslow, "Classifying gene expression profiles from pairwise mRNA comparisons," Statist. Appl. in Genetics and Molecular Biology, 3, 2004.

A.C. Tan, D.Q. Naiman, L. Xu, R.L. Winslow, D. Geman, "Simple decision rules for classifying human cancers from gene expression profiles," Bioinformatics, 21: 3896-3904, 2005.

J. Damond, supervised by S. Morgenthaler and S. Hosseinian, "Presentation and study of robustness for several methods to classify individuals based on their gene expressions", Master thesis, Swiss Federal Institute of Technology Lausanne (Switzerland), 2011.

J. Damond, S. Morgenthaler, S. Hosseinian, "The robustness of the TSP and the k-TSP and the computation of ROC curves", paper is submitted in Bioinformatics, December 2011.

Jeffrey T. Leek <jtleek@jhu.edu> (). tspair: Top Scoring Pairs for Microarray Classification. R package version 1.10.0.

See Also

ktspcalc, kts.pair,predict.ktsp, summary.ktsp

Examples

1
2
3
4
5
6
  ## Not run: 
  ## Load data
  data(ktspdata) 
  rank_na(dat, 2000)
 
## End(Not run)

ktspair documentation built on May 2, 2019, 3:25 a.m.