plot_detection_outcome | R Documentation |
Function to generate a plot showing the distribution of quality control metrics across altered data.
plot_detection_outcome(
qc_summary,
target_damage = c(0.1, 0.8),
palette = c("grey", "#7023FD", "#E60006")
)
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. |
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.
A ggplot2
object representing the scatter plot of quality
control metrics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.