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)
|
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 |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.