Description Usage Arguments Details Value
View source: R/fun-drawmeabarplot.R
Produces a barplot of mean z scores of the green fraction of sample wells, from lowest to highest. The function is designed to highlight a group of genes (e.g. components of a complex) but can be made to work with single genes.
1 | drawmeabarplot(data, highlight, treshold = 2)
|
data |
a |
highlight |
regular expression (case insensitive) that matches the name of a column that contains a logical flag for the group of genes to highlight |
treshold |
integer; z* score treshold used for hit selection; location of horizontal lines |
Mean green fraction z scores of all sample wells will be drawn as grey bars.
A set of genes specified by the highlight
argument will be highlighted
in orangered4
(the bars will be slightly widened for clarity).
Highlighting is specified by a logical column that flags the proper genes.
This column must be put in data
beforehand.
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.