Allow for customization of Nebulosa plot_density. Requires Nebulosa package from Bioconductor.
Plot_Density_Custom(
seurat_object,
features,
joint = FALSE,
viridis_palette = "magma",
custom_palette = NULL,
pt.size = 1,
aspect_ratio = NULL,
reduction = NULL,
combine = TRUE,
...
)
Seurat object name.
Features to plot.
logical. Whether to return joint density plot. Default is FALSE.
default viridis palette to use (must be one of: "viridis", "magma", "cividis", "inferno", "plasma"). Default is "magma".
non-default color palette to be used in place of default viridis options.
Adjust point size for plotting.
Control the aspect ratio (y:x axes ratio length). Must be numeric value; Default is NULL.
Dimensionality Reduction to use (if NULL then defaults to Object default).
Create a single plot? If FALSE, a list with ggplot objects is returned.
Extra parameters passed to plot_density
.
A ggplot object