plot_prob_line: Probability of fitting in river plot

Description Usage Arguments

Description

Probability of fitting in river plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
plot_prob_line(
  prob_data,
  select_cells,
  selected_lines = NULL,
  time_ind = "x",
  band_thick = 5,
  band_trans = 0.5,
  branch_ind = "branch",
  sel_branch = "branch1",
  meta = NULL,
  meta_time = "MGP_PT",
  meta_type = "broad_type",
  vjust = 1.2,
  thickness = 0.1,
  normalize_data = F,
  remove_underscore = T,
  AP = NULL
)

Arguments

select_cells

a character vector corresponding to the names of the cells to plot, the column storing in names should be indicated in meta_type

selected_lines

plot the vertical lines intersecting at the maximal probability for which cell types. If NULL, all vertical lines will be shown. To turn off this feature, input NA

time_ind

which column stores the pseudotime information for plot_data

band_thick

thickness of the lines

band_trans

transparency of the lines

branch_ind

which branch to plot

sel_branch

column of plot_data that contains the branch information

meta

dataframe for plotting a color bar that serves as a reference of the cell types that occur in each pseudotime

meta_time

which column in meta that stores the pseudotime informaion

meta_type

which column in meta that stores the cell type information

vjust

how far down the colorbar should be from the minimum point of similarity

thickness

thickness of the colorbar

normalize_data

whether to normalize the probability within a given cell type

plot_data

dataframe for the river plot


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