PlotLineage: Plot the pseudotime ordering of clusters

View source: R/PlottingFunctions.R

PlotLineageR Documentation

Plot the pseudotime ordering of clusters

Description

Plot the pseudotime ordering of clusters using igraph tools.

Usage

PlotLineage(
  network,
  node_color = NULL,
  alpha_color = 1,
  exaggerate = TRUE,
  weight_scaler = 0.2,
  arrow_scaler = 0.8
)

Arguments

network

an igraph network with weighted edges corresponding to the pseudotime distance

node_color

an optional vector of colors for node labeling. If null then the nodes are all colored black

alpha_color

the gradient of the nodes

exaggerate

whether to exponentiate then linearly scale the edge weights, thus emphasizing their differences

weight_scaler

the weight scaler for edges

arrow_scaler

the arrow width scaler for edges

Value

nothing


mkarikom/RSoptSC documentation built on May 10, 2023, 1:10 a.m.