plot_interactive: plot_interactive

View source: R/Plotting_functions.R

plot_interactiveR Documentation

plot_interactive

Description

It shows in an interactive plot which are the highly localized genes in each cell. It is based on plotly library

Usage

plot_interactive(
  coordinate_umap,
  color,
  text,
  min_x = NULL,
  max_x = NULL,
  min_y = NULL,
  max_y = NULL
)

Arguments

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.

Value

plotly object given by plot_ly function (from library plotly).

Author(s)

Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de

See Also

https://plotly.com/r/


CIARA documentation built on March 18, 2022, 6:48 p.m.