mp_dotplot: Generate one or multiple dotplots for a single analyte in a...

Description Usage Arguments

Description

Generate one or multiple dotplots for a single analyte in a MagPix assay

Usage

1
2
3
4
5
6
7
8
9
mp_dotplot(x, mapping, analyte, facets, geom = "point", color = "flag",
  x_text_angle = 0, title = "", label_pos = "top",
  data_geom_size = 3.5, label_geom_size = 3.5, log_y_axis = F,
  text_label = "device")

mp_dotplots(x, mapping, facets, geom = "point", color = "flag",
  x_text_angle = 0, title = "", label_pos = "top", chunk_size = 1,
  data_geom_size = 3.5, label_geom_size = 3.5, log_y_axis = F,
  text_label = "device")

Arguments

x

Magpix object

mapping

ggplot2 mapping created with aes(), must include x, y, and color aesthetics

analyte

String denoting analyte to be plotted

facets

formula for faceting

geom

can be 'point' or 'text'

color

Needs to be flag if color is mapped to flag

x_text_angle

Angle of text on the x axis

title

Title of the plot

label_pos

Where should the labels go?

data_geom_size

Passed onto geom_point(size = ...)

label_geom_size

Passed onto geom_label(size = ...)

log_y_axis

Boolean, should the y-axis be logged via + scale_y_log10()?

text_label

Column in x for mapping to aes(label= ...).

chunk_size

Integer, the number of analytes plotted in each plot.


hemoshear/assayr2 documentation built on Nov. 8, 2019, 6:13 p.m.