plot_bivariate: Plot bivariate data

Description Usage Examples

Description

Convenience function for plotting univariate data. Method dispatch ensures correct plotting of factor, integer, numeric, and logical vectors.

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
plot_bivariate(x, y, ...)

## S4 method for signature 'annotated_numeric,annotated_numeric'
plot_bivariate(x, y,
  xlim = NULL, ylim = NULL, model = TRUE, ...)

## S4 method for signature 'annotated_numeric,annotated_factor'
plot_bivariate(x, y,
  model = TRUE, ...)

## S4 method for signature 'annotated_numeric,annotated_integer'
plot_bivariate(x, y,
  model = TRUE, ...)

## S4 method for signature 'annotated_integer,annotated_numeric'
plot_bivariate(x, y,
  model = TRUE, ...)

## S4 method for signature 'annotated_integer,annotated_integer'
plot_bivariate(x, y,
  model = TRUE, ...)

## S4 method for signature 'annotated_integer,annotated_factor'
plot_bivariate(x, y, ...)

## S4 method for signature 'annotated_factor,annotated_factor'
plot_bivariate(x, y,
  model = TRUE, ...)

## S4 method for signature 'annotated_factor,annotated_numeric'
plot_bivariate(x, y,
  model = TRUE, ...)

## S4 method for signature 'annotated_factor,annotated_integer'
plot_bivariate(x, y,
  model = TRUE, ...)

Examples

1
2
3
4
annotation <- new("vector_annotation", label = "Test Label", unit = "Category")

int_ <- new("annotated_integer", .Data = (-5:4)[-3], annotation = annotation, label = "Test Label")
fac_ <- new("annotated_factor", .Data = 1:4, levels = letters[1:14], annotation = annotation, label = "Test Label")

mariusbarth/shinydegs.definitions documentation built on May 29, 2019, 3:44 a.m.