compareLists: Comparing two lists of features

Description Usage Arguments Value Author(s) Examples

View source: R/compareLists.R

Description

Comparing two lists of features (ordered by p-value or logFC...)

Usage

1
2
compareLists(listeA, listeB, main = "", labelA = NULL, labelB = NULL,
  choice = c("both", "curve", "venn"))

Arguments

listeA

a first vector of features

listeB

a second vector of features

main

common title of the two figures produced

labelA

label for list A

labelB

label for list B

choice

what to plot: curve, venn diagram or both

Value

A figure with a curve (left) and a Venn diagram (right)

Author(s)

Hugo Varet

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
listeA <- sort(sample(1:100,50,FALSE))
listeB <- sort(sample(1:100,50,FALSE))
compareLists(listeA,listeB)

listeA <- sort(sample(1:100,10,FALSE))
listeB <- sort(sample(1:100,10,FALSE))
compareLists(listeA,listeB)

listeA <- sort(sample(1:100,50,FALSE))
listeB <- sort(sample(1:100,80,FALSE))
compareLists(listeA,listeB)

listeA <- sort(sample(1:100,80,FALSE))
listeB <- sort(sample(1:100,30,FALSE))
compareLists(listeA,listeB)

biomics-pasteur-fr/RNADiff documentation built on Aug. 27, 2020, 12:44 a.m.