View source: R/CELESTA_functions.R
PlotSingleExpProb | R Documentation |
Plots the expression probabilities of cells in the tissue. This is use soley for the Shiny app.
PlotSingleExpProb( coords, marker_exp_prob, cols = NULL, marker_to_use, size_to_use = 1, width_to_use = 5, height_to_use = 4, save_plot = TRUE, output_dir = "." )
coords |
the x, y coordinates of each cell |
marker_exp_prob |
the marker expression probability for each cell |
cols |
the color palette for the plot |
marker_to_use |
marker to plot |
size_to_use |
the size of the points in the plot |
width_to_use |
the width of the plot |
height_to_use |
the height of the plot |
save_plot |
whether to save the plot |
output_dir |
the path to the directory to where the plot will be outputted. This defaults to the directory containing CELESTA_functions.R. Note that the directory must exist. |
generates a plot of the expression probabilities for a specified marker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.