Description Usage Arguments Examples
fix patterns on plates by run
1 |
screen |
A data frame or data table containing screening data with columns: Plate_ID, Row, Column, Compound_ID, Well_Type, Run_ID, Compound_Plate, Value. See documentation for further description of column values |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | library(RColorBrewer)
library(ggplot)
Load screen
data(mdmx)
pattern <- platePattern(mdmx)
myPalette <- colorRampPalette(rev(brewer.pal(11, "Spectral")))
ggplot(pattern, aes(factor(Column), factor(Row))) +
facet_wrap('Run_ID') +
geom_tile(aes(fill=Background), color='white') +
scale_fill_gradientn(colours = myPalette(100), limits=c(-150, 150)) +
ggtitle('Plate Well Heatmap') +
xlab('Column') +
ylab('Row') +
theme(axis.text=element_text(size=16),
axis.title=element_text(size=16),
legend.text=element_text(size=16),
title=element_text(size=16),
legend.title=element_blank())
mdmx <- fixPattern(mdmx)
pattern <- platePattern(mdmx)
ggplot(pattern, aes(factor(Column), factor(Row))) +
facet_wrap('Run_ID') +
geom_tile(aes(fill=Background), color='white') +
scale_fill_gradientn(colours = myPalette(100), limits=c(-150, 150)) +
ggtitle('Plate Well Heatmap') +
xlab('Column') +
ylab('Row') +
theme(axis.text=element_text(size=16),
axis.title=element_text(size=16),
legend.text=element_text(size=16),
title=element_text(size=16),
legend.title=element_blank())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.