powered by
Return only the joint density plot from Nebulosa plot_density function. Requires Nebulosa package from Bioconductor.
Plot_Density_Joint_Only( seurat_object, features, viridis_palette = "magma", custom_palette = NULL, pt.size = 1, aspect_ratio = NULL, reduction = NULL, ... )
A ggplot object
Seurat object name.
Features to plot.
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).
Extra parameters passed to plot_density.
plot_density
if (FALSE) { library(Seurat) Plot_Density_Joint_Only(seurat_object = pbmc_small, features = c("CD8A", "CD3E")) }
Run the code above in your browser using DataLab