Plot_Density_Joint_Only {scCustomize} | R Documentation |
Nebulosa Joint Density Plot
Description
Return only the joint density plot from Nebulosa plot_density function. Requires Nebulosa package from Bioconductor.
Usage
Plot_Density_Joint_Only(
seurat_object,
features,
viridis_palette = "magma",
custom_palette = NULL,
pt.size = 1,
aspect_ratio = NULL,
reduction = NULL,
...
)
Arguments
seurat_object |
Seurat object name. |
features |
Features to plot. |
viridis_palette |
default viridis palette to use (must be one of: "viridis", "magma", "cividis", "inferno", "plasma"). Default is "magma". |
custom_palette |
non-default color palette to be used in place of default viridis options. |
pt.size |
Adjust point size for plotting. |
aspect_ratio |
Control the aspect ratio (y:x axes ratio length). Must be numeric value; Default is NULL. |
reduction |
Dimensionality Reduction to use (if NULL then defaults to Object default). |
... |
Extra parameters passed to |
Value
A ggplot object
Examples
## Not run:
library(Seurat)
Plot_Density_Joint_Only(seurat_object = pbmc_small, features = c("CD8A", "CD3E"))
## End(Not run)
[Package scCustomize version 2.1.2 Index]