Generate one or multiple dotplots for a single analyte in a MagPix assay
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")
|
x |
Magpix object |
mapping |
ggplot2 mapping created with |
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 |
label_geom_size |
Passed onto |
log_y_axis |
Boolean, should the y-axis be logged via |
text_label |
Column in |
chunk_size |
Integer, the number of analytes plotted in each plot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.