rank_rank_plot | R Documentation |
This is useful, for example, when comparing different methods of ranking potentially interesting differentially expressed genes.
rank_rank_plot(
vec1,
vec2,
label1 = "First ranking",
label2 = "Second ranking",
n = 40
)
vec1 |
A vector of names. |
vec2 |
Another vector of names. |
label1 |
A label to go along with vec1. |
label2 |
A label to go along with vec2. |
n |
Show at most the first n names in vec1 and vec2. |
A ggplot2 object. Working non-interactively, you must print() this for it to be displayed.
a <- sample(letters)
b <- sample(letters)
rank_rank_plot(a,b, n=20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.