plotTrait: Create faceted plots for every well in a 96-well plate

Description Usage Arguments Examples

Description

Returns ggplot2 object that is faceted by row and column. By default, it will plot a heat map for the trait specified as a string. Other options include scatterplots and histograms.

Usage

1
plotTrait(plate, trait, trait2 = NULL, type = "heat")

Arguments

plate

a plate data frame, either summarized or unsummarized, to plot

trait

the trait to plot in a heat map or histogram or the independent variable in a scatter plot, enter as a string

trait2

the trait which will be the dependent variable for the scatter plot, enter as a string

type

the type of plot, either "heat" for heatmap, "scatter" for scatter plot, or "hist" for histogram, defaults to "heat"

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#### COPASutils Figures
### Figure 1a 
#plotTrait(doseData, trait="TOF", trait2="EXT", type="scatter")

### Figure 1b
#plotTrait(doseData, trait="TOF", type="hist")

### Figure 1c
# sumDose <- summarizePlate(doseData)
# plotTrait(sumDose, trait="n", type="heat") 

AndersenLab/COPASutils documentation built on May 5, 2019, 4:57 a.m.