plot_ribosomal_penalty: plot_ribosomal_penalty

View source: R/plot_outcome.R

plot_ribosomal_penaltyR Documentation

plot_ribosomal_penalty

Description

Function to generate a scatter plot of the simulated data focusing on ribosomal proportion.

Usage

plot_ribosomal_penalty(
  qc_summary,
  palette = c("grey", "#7023FD", "#E60006"),
  target_damage = c(0.5, 1)
)

Arguments

qc_summary

A data frame containing the quality control summary for cells.

palette

A character vector specifying the color gradient used for coloring the damage levels.

target_damage

Numeric vector specifying the target damage levels for color scaling.

Details

This function visualizes the distribution of mitochondrial and ribosomal proportion for cells with altered counts.

Value

A ggplot2 plot


DamageDetective documentation built on April 4, 2025, 2:39 a.m.