plot_density_: Plot density estimates

Description Usage Arguments Value Author(s)

View source: R/plotting.R

Description

Plot density estimates

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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


powellgenomicslab/Nebulosa documentation built on May 5, 2021, 6:14 p.m.