Probability of fitting in river plot
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
)
|
select_cells |
a character vector corresponding to the names of the
cells to plot, the column storing in names should be indicated in |
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
|
band_thick |
thickness of the lines |
band_trans |
transparency of the lines |
branch_ind |
which branch to plot |
sel_branch |
column of |
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_type |
which column in |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.