View source: R/CELESTA_functions.R
PlotExpProb | R Documentation |
Plots the expression probabilities of cells in the tissue
PlotExpProb( coords, marker_exp_prob, prior_marker_info, 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 |
prior_marker_info |
user-defined cell-type signature matrix. The data should contain two columns (name X and Y) for the x, y coordinates and a column for each protein marker. Each row represents the data for a single cell, including its x, y coordinates and expression for each protein marker. |
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. |
writes a plot of the expression probabilities for each marker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.