plotPlate {plateCore} | R Documentation |
Make a row vs. column plot of a plate, where the wells are colored according to some value of choice (number of events, median signal intensity, percent positive, etc.).)
plotPlate(fp, x = NA, method = "median", main, col, values, width = 1, na.action = "zero", ...)
fp |
A |
x |
A |
method |
Valid choices are mean, median, sd, mad, mahalanobis, or one of the numeric columns in the wellAnnotation data.frame (e.g. Percent.Positive, Positive.Count, MFI, MFI.Ratio) |
main |
Main text for the plot |
col |
Character vector of two colors. |
values |
Optional list of values, with names corresponding to sampleNames, that will be used for plotting. |
width |
Width of the well. |
na.action |
Handling of NA values, either "zero" or "omit". |
... |
optional arguments |
Plots the plate to the standard output.
Jon Gosink and Errol Strain
The original version of this plot came from the prada
package.
library(plateCore) data(plateCore) ## Create a flowPlate fp <- flowPlate(pbmcPlate,wellAnnotation,"p1001") plotPlate(transform("FL1-H"=log10) %on% fp,x="FL1-H",method="mean",col=c("yellow", "darkblue"))