File: interactiveDisplayBase.R

package info (click to toggle)
r-bioc-interactivedisplaybase 1.44.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 132 kB
  • sloc: javascript: 58; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
###   Main
################################################################################

## declare the display generic
setGeneric("display", function(object, ...)
  standardGeneric("display")
)

setMethod("display",
signature(object = "ANY"),
function(object){
  message("Wrong object")
})

setMethod("display",
signature(object = "missing"),
function(object){
  message("Missing object")
})