topgenes {DEDS}R Documentation

Table of Top Genes from DEDS


topgenes prints a table of top-ranked genes by DEDS.


topgenes(obj, number = 10, genelist = NULL, = c("deds", colnames(obj$stats[,-1])), tail = c("abs", "lower", "higher"))


obj An object of DEDS
number A numeric variable specifying the number of top genes to be printed out.
genelist A dataframe or a vector containing gene names. A character string specifying the name of the statistic to sort genes by. The default uses the DEDS result, the user can also choose from the names of the statistics (or unadjusted p values) that DEDS is used to summarize.
tail A character string specifying the type of rejection region.
If side="abs", two-tailed tests, genes are ranked by their absolute values.
If side="higher", one-tailed tests, genes are ranked decreasingly.
If side="lower", one-tailed tests, genes are ranked increasingly.


The function topgenes accepts a DEDS object as the first argument. The DEDS class is a simple list-based class to store DEDS results. The list contains a "stat" component, which stores statistics or unadjusted p-values from various statistical tests. The function topgenes.DEDS extracts the "stat" component and prints out the top genes according to the user defined criterion – usually by DEDS or by a single statistical measure that DEDS summarizes.


A dataframe with rows for selected genes, and columns for the "stat" matrix and q- or adjusted p-values from DEDS.


Yuanyuan Xiao,,
Jean Yee Hwa Yang,

See Also

deds.stat.linkC, deds.pval


X <- matrix(rnorm(1000,0,0.5), nc=10)
L <- rep(0:1,c(5,5))

# genes 1-10 are differentially expressed
# DEDS summarizing t, fc and sam
d <- deds.stat.linkC(X, L, B=200)

# top table, ranked by DEDS
# top table, ranked by t

[Package DEDS version 1.0.3 Index]