plotPoints-methods: Plot jittered points by group from a matrix.

Description Usage Arguments Details Examples

Description

Takes a matrix and produces a dots plot using geom jitter.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
plotPoints(x, group = NULL, label = NULL, scales = "fixed")

## S4 method for signature 'matrix'
plotPoints(x, group = NULL, label = NULL,
  scales = "fixed")

## S4 method for signature 'ExpressionSet'
plotPoints(x, group = NULL, label = NULL,
  scales = "fixed")

## S4 method for signature 'EList'
plotPoints(x, group = NULL, label = NULL,
  scales = "fixed")

## S4 method for signature 'DGEList'
plotPoints(x, group = NULL, label = NULL,
  scales = "fixed")

Arguments

x

a matrix or an object that can be coherce to a matrix.

group

grouping variable (columns).

label

custom labels (rows).

scales

scales argument passed down to facet_wrap (default: fixed).

Details

Alternatively points are grouped by the groups assigned to the group argument, which is applied to the columns. Each row is plotted in a different panel using facet_wrap. The label of the facets is by default the rownames but it can be passed using the argument label. The scales of the plots are by default the same but this can be controled with the scale argument (e.g. changed to 'free_y').

Examples

1

ddiez/q3tools documentation built on May 15, 2019, 1:52 a.m.