plot_gene_two_regions | R Documentation |
Makes a spatial plot of gene expression for a particular gene This plot is colored by two discrete regions based on high or low explanatory variable values. Bold points represent expressed, whereas unbold points represent pixels not expressing the gene.
plot_gene_two_regions(
myRCTD,
gene,
cell_type,
min_UMI = 200,
expr.thresh = 0,
exvar_thresh = 0.5
)
myRCTD |
|
gene |
gene to be plotted |
cell_type |
cell_type to be plotted (only single cell type pixels) |
min_UMI |
(default 200) minimum UMI for pixels that are included |
expr.thresh |
(default 0) the minimum expression threshold to clear to be considered to be expressed |
exvar_thresh |
threshold of the explanatory variable in order for points to be sorted into the two regions |
gene expression plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.