dim_red_3D_traj: Add trajectory line to 3D scatterplot

Description Usage Arguments Author(s) References

Description

Add trajectory line to 3D scatterplot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
dim_red_3D_traj(
  plot_data,
  px,
  py,
  pz,
  pcolor,
  traj_data,
  tx,
  ty,
  tz,
  tcolor,
  traj_color = "black",
  all_theta = 0,
  all_phi = 0,
  AP = NULL,
  repel_force = 1,
  further_repel = T,
  magnify_text = 1,
  label_traj_text = NULL,
  seg_color = NA,
  traj_width = 2,
  ...
)

Arguments

plot_data

the dataframe for dim red plots

px,

py, pz the column names in plot_data that corresponds to x, y and z axes

pcolor

the column name in plot_data that provide the color for points

traj_data

the dataframe for the trajectory data

tx,

ty, tz, tcolor similar to px, py, pz, pcolor

...

pass to dim_red_3D

Author(s)

Yutong Chen

References

http://htmlpreview.github.io/?https://github.com/AckerDWM/gg3D/blob/master/gg3D-vignette.html


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.