plot_predictions_dimplot | R Documentation |
This function generates a dimensional reduction plot with predictions overlayed on each cell.
plot_predictions_dimplot(
scRNA_data,
perturbation,
group_by = NULL,
reduction = "umap",
pt_size = 0.25,
show_labels = F,
label_size = 3,
dims = c(1, 2),
fixed_color_scale = FALSE
)
scRNA_data |
A Seurat object with predictions appended (e.g. using append_predictions_to_seurat) |
perturbation |
The name of the perturbation whose predictions we want to plot. |
reduction |
The dimensionality reduction technique to show (default = 'umap') |
dims |
A 2-element vector with the dimensions to plot (default = c(1,2)) |
fixed_color_scale |
Default = FALSE. If TRUE, the color scale will be fixed from 0 to 1. |
plot_predictions_dimplot(my_seurat_obj, "ko_ctnnb1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.