plot_density_ {Nebulosa}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"),
  ...
)

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

...

Further scale arguments passed to scale_color_viridis_c

Value

A ggplot object

Author(s)

Jose Alquicira-Hernandez


[Package Nebulosa version 1.4.0 Index]