Comparing and ordering the list elements of XRawList objects

Share:

Description

Methods for comparing and ordering the elements in one or more XRawList objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
## Element-wise (aka "parallel") comparison of 2 XRawList objects
## --------------------------------------------------------------

## S4 method for signature 'XRawList,XRawList'
e1 == e2

## S4 method for signature 'XRawList,XRawList'
e1 <= e2

## duplicated()
## ------------

## S4 method for signature 'XRawList'
duplicated(x, incomparables=FALSE, ...)

## match()
## -------

## S4 method for signature 'XRawList,XRawList'
match(x, table, nomatch=NA_integer_, incomparables=NULL)

## order() and related methods
## ---------------------------

## S4 method for signature 'XRawList'
is.unsorted(x, na.rm=FALSE, strictly=FALSE)

## S4 method for signature 'XRawList'
order(..., na.last=TRUE, decreasing=FALSE)

## S4 method for signature 'XRawList'
rank(x, na.last=TRUE,
     ties.method=c("average", "first", "random", "max", "min"))

## Generalized element-wise (aka "parallel") comparison of 2 XRawList objects
## --------------------------------------------------------------------------

## S4 method for signature 'XRawList,XRawList'
pcompare(x, y)

Arguments

e1, e2, x, table, y

XRawList objects.

incomparables

Not supported.

...

For duplicated: currently no additional arguments are allowed.

For order: additional XRawList objects used for breaking ties.

nomatch

The value to be returned in the case when no match is found. It is coerced to an integer.

na.rm, na.last

Ignored.

strictly

TRUE or FALSE. Should the check be for strictly increasing values?

decreasing

TRUE or FALSE.

ties.method

A character string specifying how ties are treated. Only "first" and "min" are supported for now.

Details

[TODO]

Author(s)

H. Pag├Ęs

See Also

  • The XRawList class.

  • Ranges-comparison in the IRanges package for comparing and ordering ranges.

  • ==, duplicated, unique, match, %in%, order, sort, rank for general information about those functions.

Examples

1
## TODO