rank_by_s2n | R Documentation |
Ranking genes by signal to noise ratio according to their expression data.
rank_by_s2n(expmat, label)
expmat |
A matrix of gene expression data. Each row is a gene and each column is a sample. |
label |
An integer vector of encoded pheotypes. Its value is 0 and 1. Its length should match the column number of expression matrix. |
A vector of rank of each gene according to signal to noise ratio.
expdat <- matrix(rnorm(500), nrow = 25, ncol = 20)
label <- rep(c(0, 1), 10)
ranklist <- rank_by_s2n(expdat, label)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.