plot_density_: Plot density estimates

View source: R/plotting.R

plot_density_R Documentation

Plot density estimates

Description

Plot density estimates

Usage

plot_density_(
  z,
  feature,
  cell_embeddings,
  dim_names,
  shape,
  size,
  legend_title,
  pal = c("viridis", "magma", "cividis", "inferno", "plasma"),
  raster,
  ...
)

Arguments

z

Vector with density values for each cells

feature

Name of the feature being plotted

cell_embeddings

Matrix with cell embeddings

dim_names

Names of the dimensions from the cell embeddings

shape

Geom shape

size

Geom size

legend_title

String used as legend title

pal

String specifying the viridis color palette to use

raster

Rasterise plot

...

Further scale arguments passed to scale_color_viridis_c

Value

A ggplot object

Author(s)

Jose Alquicira-Hernandez


powellgenomicslab/Nebulosa documentation built on March 3, 2024, 8:23 p.m.