TrajectFeaturePlot: Feature plot for the spatial trajectory

View source: R/Visualize.R

TrajectFeaturePlotR Documentation

Feature plot for the spatial trajectory

Description

Feature plot for the spatial trajectory

Usage

TrajectFeaturePlot(
  traject,
  span = 0.5,
  color = "#7a1723",
  featureValues,
  feature = NULL,
  title = "Feature of the trajectory",
  TrajectoryName = "Example",
  ...
)

Arguments

traject

A Data frame, the output from CreateSpatTrajectory

span

Controls the amount of smoothing for the default loess smoother. Smaller numbers produce wigglier lines, larger numbers produce smoother lines.

color

Character, color for the curve

featureValues

Numeric vector. Values of the interested feature, corresponding to the spots in Giotto object.

feature

Name of the feature, corresponding to the y-lab.

title

The title of the plot.

TrajectoryName

The user-specified name for the trajectory.


YeehanXiao/STREAM documentation built on Aug. 13, 2022, 6:43 p.m.