time_cluster_plot: Plot the clustering results of times against the peak...

Description Usage Arguments

Description

Plot the clustering results of times against the peak gradient

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
time_cluster_plot(
  peak_plot,
  metadata,
  show_text_prop = 0.95,
  color_by = "cluster",
  color_bar = "broad_type",
  time_col = "MGP_PT",
  exclude_perc = 0.02,
  vjust = 0,
  thickness_ratio = 0.05,
  repel_force = 1,
  repel_point = NULL,
  ribbon_alpha = 1,
  AP = NULL,
  overlap = T
)

Arguments

peak_plot

a dataframe generated by find_peak or find_transition_from_seurat. It must contain the column peak_time and val, the latter for selection of the most significant genes

metadata

a dataframe for adding the cell types colors

color_by

which column in peak_plot to color the points

color_bar

which column in metadata contains cell type information to provide a cellular context for the pseudotime line

time_col

which column in metadata contains pseudotime information for each cell

exclude_perc

by how much percent the pseudotime line should be truncated. This is because pseudotime points sometimes contain some outliers that may create a lot of white space.


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