plot_screen_progress: plot campaign progress over time

Description Usage Arguments Details Value

View source: R/fun-plot_screen_progress.R

Description

Create a barplot that shows how many plates were created and imaged over the course of the screening campaign.

Usage

1

Arguments

directory

analysis master directory, where screen log file is located; defaults to current working directory

file

optional path to print the plot to; will be created in the "results" directory; set to NULL to send plot to current graphics device

Details

This function will search directory for a file that matches the pattern "screenlog". Having found the file it will read plating and imaging dates and plot the numbers of plates corresponding to those dates. A barplot will be created with ggplot, which can be saved to a png file.

A subdirectory called "results" will be created, if absent, to save the plot.

Value

A ggplot object if plot is NULL or the file path otherwise.


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