add_velo_trace: Refactoring plot_velo into multiple functions moving forwards

Description Usage Arguments Value

View source: R/add_velo_trace.R

Description

Refactoring plot_velo into multiple functions moving forwards

Usage

1
2
3
4
5
6
7
8
add_velo_trace(
  txis,
  embed = "UMAP",
  replace = FALSE,
  colr = "velocity_pseudotime",
  p = NULL,
  ...
)

Arguments

txis

a SingleCellExperiment with metadata(txis)$scVelo

embed

which reducedDims() element to use for plotting? (UMAP)

replace

replace any existing metadata element embedded? (FALSE)

colr

column(s) to use for colors (default: velocity_pseudotime)

p

an existing plotly object to add the trace to (NULL)

...

optional arguments to pass to plotly::plot_ly()

Value

1
       a plotly trace

trichelab/velocessor documentation built on Jan. 5, 2022, 6:27 p.m.