Description Usage Arguments Details Value Author(s) See Also Examples
This is a very simple function which compares two vectors, x and y. It returns the intersection and unique lists. It is useful for comparing two genelists.
1 2 3 | comparelists(dx,dy, ...)
## S3 method for class 'comparelists'
print(x, ...)
|
dx,dy |
A vector. |
x |
An object from |
... |
further arguments passed to or from other methods. |
reports on the intersect, difference and union between two lists.
An object of class comparelists
:
intersect |
Vector containing the intersect between x and y |
Set.Diff |
Vector containing the elements unique to X obtained using |
XinY |
Numeric, indicating the number of elements of x in y |
YinX |
Numeric, indicating the number of elements of y in x |
Length.X |
Numeric, the number of elements in x |
Length.Y |
Numeric, the number of elements in y |
... |
Further arguments passed to or from other methods |
Aedin Culhane
1 2 3 4 5 |
Loading required package: ade4
Loading required package: RColorBrewer
Loading required package: gplots
Attaching package: 'gplots'
The following object is masked from 'package:stats':
lowess
Loading required package: scatterplot3d
[1] "A" "Q" "O" "V" "B" "L" "E" "M" "F" "Z" "I"
[1] "X" "H" "P" "T" "J" "U" "W" "C" "Y"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.