Description Usage Arguments Value Examples
This function will plot a heatmap or bubble plot of a data.frame produced by gitter
or a dat file saved to disk.
1 2 3 4 |
x |
The data.frame produced by |
title |
Title of plot. Default is blank. |
type |
Type of plot. "heatmap" for a heatmap, "bubble" for a bubble plot. Default is "heatmap". |
low |
Color for the lower bound of colony sizes. Default is "turquoise". |
mid |
Color of the middle value of colony sizes. Default is "black". |
high |
Color for the upper bound of colony sizes. Default is "yellow". |
show.text |
Logical indicating if text representation of colony sizes should be overlaid on the plot. Default is |
text.color |
Color of text if show.text is |
norm |
Logical indicating if colony sizes should be normalized by dividing colony sizes the middle mean of values and capping them between 0-2. Default is |
show.flags |
Logical indicating if dots should be overlaid on the plot for flagged colonies. Default is |
flag.color |
Color of flag dot if show.flags is |
... |
Additional arguments. Not used. |
a ggplot heatmap or bubble plot.
1 2 3 4 5 6 7 | f = system.file("extdata", "sample.jpg.dat", package="gitter")
# Read in path as a gitter data object
g = gitter.read(f)
# Plot a heatmap
plot(g, type="heatmap")
# Show a bubble plot
plot(g, type="bubble", low="black", high="red")
|
xdpyinfo: unable to open display "".
gitter version 1.1.1 - quantification of pinned microbial cultures
Copyright (C) 2015 Omar Wagih
Type 'gitter.demo()' for a demo, '?gitter' for help
or see http://gitter.ccbr.utoronto.ca for more details
Warning message:
running command 'xdpyinfo | grep 'dimensions:' 2>/dev/null' had status 1
Warning message:
`axis.ticks.margin` is deprecated. Please set `margin` property of `axis.text` instead
Warning message:
`axis.ticks.margin` is deprecated. Please set `margin` property of `axis.text` instead
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.