File: sort.R

package info (click to toggle)
r-bioc-biocgenerics 0.52.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 772 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
### =========================================================================
### The sort() generic
### -------------------------------------------------------------------------
###
### Note that base::sort is an S3 generic.
###
### Need to explicitly define this generic otherwise the implicit generic
### in package "base" would dispatch on ('x', 'decreasing'). Here we set
### dispatch on the 1st arg (the 'x' arg) only!

setGeneric("sort", signature="x")