Description Usage Arguments Details Value Author(s) References See Also Examples
Plot positions of one or two gene sets in a ranked list of statistics.
1 2 |
index |
index vector for the gene set. This can be a vector of indices, or a logical vector of the same length as |
index2 |
index vector for a second gene set. Usually used to specify down-regulated genes when |
statistics |
numeric vector giving the values of statistics to rank genes by. |
labels |
character vector of labels for the two groups of RNA samples that are being compared by the statistics. First labe is associated with high statistics and is displayed at the left end of the plot. Second label is associated with low or negative statistics and is displayed at the right end of the plot. |
quantiles |
numeric vector of length 2, giving cutoff values for |
col.bars |
character vector giving colors for the bars on the barcodeplot. Defaults to |
offset.bars |
logical. When there are two sets, bars for the first set are normally offset up and and bars for the second set are offset down from the rectangle of the barcodeplot. |
... |
other arguments are passed to |
Rank statistics left to right from largest to smallest, and show positions of one or two specified subsets. This plot is typically used in conjunction with gene set tests. It first appeared in the literature in Lim et al (2009). It was inspired by the set location plot of Subramanian et al (2005).
No value is returned but a plot is produced as a side effect.
Gordon Smyth and Di Wu
Lim E, Vaillant F, Wu D, Forrest NC, Pal B, Hart AH, Asselin-Labat ML, Gyorki DE, Ward T, Partanen A, Feleppa F, Huschtscha LI, Thorne HJ; kConFab; Fox SB, Yan M, French JD, Brown MA, Smyth GK, Visvader JE, Lindeman GJ (2009). Aberrant luminal progenitors as the candidate target population for basal tumor development in BRCA1 mutation carriers. Nat Med, 15, 907-913..
Subramanian A, Tamayo P, Mootha VK, Mukherjee S, Ebert BL, Gillette MA, Paulovich A, Pomeroy SL, Golub TR, Lander ES, Mesirov JP (2005). Gene set enrichment analysis: a knowledge-based approach for interpreting genome-wide expression profiles. Proc Natl Acad Sci USA, 102, 15545-15550.
1 2 3 4 5 6 7 | stat <- rnorm(100)
sel <- 1:10
stat[sel] <- stat[sel]+1
barcodeplot(stat,sel)
sel2 <- 11:20
stat[sel2] <- stat[sel2]-1
barcodeplot(stat,sel,sel2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.