View source: R/Plotting_functions.R
plot_interactive | R Documentation |
It shows in an interactive plot which are the highly localized genes in each cell. It is based on plotly library
plot_interactive( coordinate_umap, color, text, min_x = NULL, max_x = NULL, min_y = NULL, max_y = NULL )
coordinate_umap |
Data frame with dimensionality reduction coordinates. Number of rows must be equal to the number of cells |
color |
vector of length equal to n_rows in coordinate_umap.Each cell will be coloured following a gradient according to the corresponding value of this vector. |
text |
Character vector specifying the highly localized genes in each cell. It is the output from selection_localized_genes. |
min_x |
Set the min limit on the x axis. |
max_x |
Set the max limit on the x axis. |
min_y |
Set the min limit on the y axis. |
max_y |
Set the min limit on the y axis. |
plotly object given by plot_ly function (from library plotly).
Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.