visualize.power.grid: Plotting function to visualize calculated power as heatmap,...

View source: R/plotting.R

visualize.power.gridR Documentation

Plotting function to visualize calculated power as heatmap, splitted into the separate components of expression probability, power and detection power

Description

Plotting function to visualize calculated power as heatmap, splitted into the separate components of expression probability, power and detection power

Usage

visualize.power.grid(
  powerDf,
  var.axis1 = "sampleSize",
  var.axis2 = "totalCells"
)

Arguments

powerDf

Data frame with power calculation for different parameter combinations

var.axis1

Variable which should be plotted at the x axis (possible values: sampleSize, totalCells and readDepth)

var.axis2

Variable which should be plotted at the y axis (possible values: sampleSize, totalCells and readDepth)

Value

ggplot object with a heatmap of the two power components plus overall power


heiniglab/scPower documentation built on Jan. 9, 2025, 12:13 p.m.