drawmeabarplot: draw a screen overview as a barplot

Description Usage Arguments Details Value

View source: R/fun-drawmeabarplot.R

Description

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.

Usage

1
drawmeabarplot(data, highlight, treshold = 2)

Arguments

data

a data.frame; must contain the column "mean_zscore_gf"

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

Details

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.

Value

a ggplot object


olobiolo/siscreenr documentation built on Nov. 26, 2021, 3:08 p.m.