Description Usage Arguments Value Note Author(s) References See Also Examples
The function performs the Rank Product method to
identify differentially expressed genes. It is possible to do either a
one-class or two-class analysis. This function has been kept only to guarantee
backward compatibility, in fact the same results can be obtained by
RankProducts
.
1 2 |
data |
the function performs the Rank Product (or Rank Sum) method to identify differentially expressed genes. It is possible to do either a one-class or two-class analysis |
cl |
a vector containing the class labels of the samples. In the two class unpaired case, the label of a sample is either 0 (e.g., control group) or 1 (e.g., case group). For one class data, the label for each sample should be 1 |
num.perm |
in this version of the package, this parameter is not used any more, but it is kept for backward compatibility |
logged |
if "TRUE" data have been previously log transformed. Otherwise it should be set as "FALSE" |
na.rm |
if "FALSE", the NA value will not be used in computing rank. If "TRUE" (default), the missing values will be replaced by the genewise median of the non-missing values. Gene with a number of missing values greater than 50% are still not considered in the analysis |
gene.names |
if "NULL", no gene name will be attached to the outputs, otherwise it contains the vector of gene names |
plot |
if "TRUE", plot the estimated pfp vs the rank of each gene |
rand |
if specified, the random number generator will be put in a reproducible state |
huge |
if "TRUE" not all the outputs are evaluated in order to save space |
A summary of the results obtained by the Rank Product method.
pfp |
estimated percentage of false positive predictions (pfp), both considering upregulated an downregulated genes |
pval |
estimated pvalues per each gene being up- and down-regulated |
RPs |
the Rank Product statistics evaluated per each gene |
RPrank |
rank of the Rank Product of each gene in ascending order |
Orirank |
ranks obtained when considering each possible pairing. In this version of the package, this is not used to compute Rank Product (or Rank Sum), but it is kept for backward compatibility |
AveFC |
fold changes of average expressions (class1/class2). log fold-change if data has been log transformed, original fold change otherwise |
allrank1 |
fold change of class 1/class 2 under each origin. log fold-change if data has been log transformed, original fold change otherwise |
allrank2 |
fold change of class 2/class 1 under each origin. log fold-change if data has been log transformed, original fold change otherwise |
nrep |
total number of replicates |
groups |
vector of labels (as cl) |
RandomPairs_ranks |
a matrix containing the ranks evaluated for each RandomPair |
Percentage of false prediction (pfp), in theory, is equivalent of false discovery rate (FDR), and it is possible to be large than 1.
The function looks for up- and down- regulated genes in two seperate steps, thus two pfps and pvalues are computed and used to identify gene that belong to each group.
This function is suitable to deal with data from a single origin, e.g. single experiment. If the data has different origin, e.g. generated at different laboratories, please refer RP.advance.
Francesco Del Carratore,
francesco.delcarratore@postgrad.manchester.ac.uk
Andris Janckevics, andris.jankevics@gmail.com
Breitling, R., Armengaud, P., Amtmann, A., and Herzyk, P.(2004) Rank Products:A simple, yet powerful, new method to detect differentially regulated genes in replicated microarray experiments, FEBS Letter, 57383-92
topGene
RSadvance
RPadvance
plotRP
RP.advance
RankProducts
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Load the data of Golub et al. (1999). data(golub)
# contains a 3051x38 gene expression
# matrix called golub, a vector of length called golub.cl
# that consists of the 38 class labels,
# and a matrix called golub.gnames whose third column
# contains the gene names.
data(golub)
#use a subset of data as example, apply the rank
#product method
subset <- c(1:4,28:30)
#Setting rand=123, to make the results reproducible,
RP.out <- RP(golub[,subset],golub.cl[subset],rand=123)
# class 2: label =1, class 1: label = 0
#pfp for identifying genes that are up-regulated in class 2
#pfp for identifying genes that are down-regulated in class 2
head(RP.out$pfp)
|
Loading required package: Rmpfr
Loading required package: gmp
Attaching package: 'gmp'
The following objects are masked from 'package:base':
%*%, apply, crossprod, matrix, tcrossprod
C code of R package 'Rmpfr': GMP using 64 bits per limb
Attaching package: 'Rmpfr'
The following objects are masked from 'package:stats':
dbinom, dnorm, dpois, pnorm
The following objects are masked from 'package:base':
cbind, pmax, pmin, rbind
Rank Product analysis for unpaired case
done class1 < class2 class1 > class2
[1,] 1.017396 1.06832283
[2,] 1.039144 0.98009986
[3,] 1.030740 1.00463854
[4,] 1.023304 0.05053535
[5,] 1.032176 0.05780496
[6,] 1.007577 0.02786279
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.