rank_rank_plot: A plot to compare two rankings

Description Usage Arguments Value

View source: R/topconfects.R

Description

This is useful, for example, when comparing different methods of ranking potentially interesting differentially expressed genes.

Usage

1
2
rank_rank_plot(vec1, vec2, label1 = "First ranking",
  label2 = "Second ranking", n = 40)

Arguments

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.

Value

A ggplot2 object. Working non-interactively, you must print() this for it to be displayed.


pfh/topconfects documentation built on July 2, 2018, 6:31 a.m.