R/plots-qc.R
qc_variance_hist.Rd
This function uses pivot_longer to rearrange the data for plotting, finds the variance for each pgRNA construct (using row number as a proxy) and then plots a histogram of these variances
qc_variance_hist(
gimap_dataset,
filter_replicates_target_col = NULL,
wide_ar = 0.75
)
The special gimap_dataset from the `setup_data` function which contains the transformed data
default is NULL; Which sample columns are replicates whose variation you'd like to analyze; If NULL, the last 3 sample columns are used
aspect ratio, default is 0.75
a ggplot histogram
if (FALSE) { # \dontrun{
gimap_dataset <- get_example_data("gimap")
qc_variance_hist(gimap_dataset)
} # }