plot_detection_outcome {DamageDetective} | R Documentation |
plot_detection_outcome
Description
Function to generate a plot showing the distribution of quality control metrics across altered data.
Usage
plot_detection_outcome(
qc_summary,
target_damage = c(0.1, 0.8),
palette = c("grey", "#7023FD", "#E60006")
)
Arguments
qc_summary |
A data frame containing the quality control summary for cells. |
target_damage |
Numeric vector specifying the target damage levels for color scaling. |
palette |
A character vector specifying the color gradient used for coloring the damage levels. |
Details
This function visualizes the distribution of features and proportions of mitochondrial and ribosomal genes for altered cells, coloring the points by their damage levels. It helps in assessing how well the damage detection process has classified cells based on their quality control metrics.
Value
A ggplot2
object representing the scatter plot of quality
control metrics.
[Package DamageDetective version 1.0.0 Index]