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
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

Value

A ggplot object

Author(s)

Jose Alquicira-Hernandez


powellgenomicslab/Nebulosa_Rv3 documentation built on Sept. 18, 2020, 12:05 a.m.