power_plots: Returns a set of plots summarising the expected power to...

View source: R/plots.R

power_plotsR Documentation

Returns a set of plots summarising the expected power to detect a significant effect given various allele fraction and effect size combinations.

Description

Returns a set of plots summarising the expected power to detect a significant effect given various allele fraction and effect size combinations.

Usage

power_plots(alignment_result, allele_min_reads = 100, WT_fraction = NA)

Arguments

alignment_result

Result from a call to alignment_analysis.

allele_min_reads

The minimum number of reads that a deletion allele must have across all replicates to be included.

WT_fraction

If specified, then the model will assume this fraction of WT reads

Value

Returns a list with three ggplot objects:

  • cv_plot

  • power_plot

  • replicate_allocation_plot

See Also

alignment_analysis

Examples

# Note: First run alignment_analysis()
# mul1_alignment_results is a pre-loaded result

power_plots(mul1_alignment_results[[1]])

Jeremy37/rgenie documentation built on Sept. 22, 2023, 10:17 a.m.