st.plot | R Documentation |
Plot the absolute, dichotomised, or relative gene expression levels in a spatial transcriptomics (ST) dataset.
st.plot(expr, spots, gene.name = NULL, binary = FALSE, log.expr = TRUE)
expr |
A numeric vector p of length n that denotes the absolute, dichotomised, or relative gene expression levels. Each entry is an integer value that denotes the gene count at spot i. |
spots |
An n-by-2 numeric matrix T to represent the geospatial profile, where each row indicates the spot location in the grid. |
gene.name |
An optional character string that specifies the gene name.
The default is |
binary |
A logical value that indicates if the gene expression levels
are dichotomised. The default is |
log.expr |
A logical value that indicates if the gene expression levels
should be plotted at log-level. The default is |
A ggplot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.