This function creates a panel of dot plots for Acute Myeloid Leukemia (AML) marker expression, using ADT data from a Seurat object. Each plot compares pairs of AML-related surface markers, and the plots are arranged in a grid. The color of the points can be customized based on a specified feature.
Usage
aml_panel(seu, color = "vmR_pred", cols)
Arguments
- seu
A Seurat object containing ADT data.
- color
A string representing the name of the feature to use for coloring the dots. Defaults to "vmR_pred"
.
- cols
A vector of colors to use for the coloring the dots. Can be used for both continuous and categorical color scales.
Value
A patchwork object representing a grid of dot plots.
Examples
# Example usage
aml_panel(seu = my_seurat_object, color = "vmR_pred", cols = my_colors)
#> Error in eval(expr, envir, enclos): object 'my_seurat_object' not found