use_interactive_graphics: Activate interactive graphics

Description Usage Arguments Value Examples

View source: R/lipidr-package.R

Description

Use this function to turn on/off interactive graphics plotting. Interactive plots require plotly to be installed. Interactive graphics are disabled by default.

Usage

1

Arguments

interactive

Should interactive plots be displayed? Default is TRUE.

Value

None

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(data_normalized)
use_interactive_graphics()

# plot the variation in intensity and retention time of all measured
#  lipids in QC samples
d_qc <- data_normalized[, data_normalized$group == "QC"]
# plot_molecules(d_qc, "cv", "Area")

# turn off interactivity
use_interactive_graphics(interactive = FALSE)

lipidr documentation built on Nov. 8, 2020, 7:50 p.m.