plotDecontXContamination | R Documentation |
A scatter plot of the UMAP dimensions generated by DecontX with cells colored by the estimated percentation of contamation.
plotDecontXContamination(
x,
batch = NULL,
colorScale = c("blue", "green", "yellow", "orange", "red"),
size = 1
)
x |
Either a SingleCellExperiment with |
batch |
Character. Batch of cells to plot. If |
colorScale |
Character vector. Contains the color spectrum to be passed
to |
size |
Numeric. Size of points in the scatterplot. Default 1. |
Returns a ggplot
object.
Shiyi Yang, Joshua Campbell
See decontX
for a full example of how to estimate
and plot contamination.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.