Description Usage Arguments Value
Produce a ggplot object with cells on 2D embedding, colored by a given score for each cell.
1 2 | plotCellScore(X, score, cell.col = c("blue", "white", "red"),
size = 0.5, alpha = 1, shape = 16)
|
X |
matrix, 2D embedding of each cell for the plot |
score |
numeric vector, a single value to color each cell, continuous |
cell.col |
string vector, color bar to use for "score", defaul c("blue","white","red") |
size |
numeric, dot size for each cell, default 0.5 |
alpha |
numeric between 0 to 1, dot opacity for each cell, default 1 |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.