int_plot: int_plot

View source: R/int_plot.R

int_plotR Documentation

int_plot

Description

Plot an interactive graph of the direct data if the number of points to print is not to high, else it plot the image of the plot.

Usage

int_plot(data, img, tit = "t-SNE", src = "M", max_points = 3000)

Arguments

data

A data frame that contains the data. For now, needs to have 'tSNE1', 'tSNE2', 'pred' and 'index' columns. The 'tSNE' axes are the y and x axes respectively, 'pred' is the color and 'index' is the row names.

img

The image of the plot. Need to be an 'Image' object from EBImage package

tit

The title of the plot

src

The source of the plotly plot, default is "M"

max_points

The maximum number of points you want to print before ploting the image of the plot

Value

An interactive plot from plotly on which can draw path


mgerault/drawYpath documentation built on July 14, 2022, 10:28 a.m.