plotXY | R Documentation |
A helper function to overlay data onto a spatial image.
plotXY(df, col, img = NULL)
df |
A |
col |
character. A column of |
img |
a raster object representing a bitmap image. |
A ggplot.
gene <- rep(c("Cd44", "Cd8b1", "Cd79b"), each = 2)
x <- c(1693, 1701, 1820, 3188, 1631, 1881)
y <- c(1831, 1666, 1855, 6612, 1533, 942)
df <- data.frame(gene = gene, x = x, y = y)
plotXY(df, "gene")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.