MyNixOS website logo
Description

Create Interactive Linked Charts with Minimal Code.

An easy-to-use tool to employ interactivity in every-day exploratory analysis. It contains a collection of most commonly used types of charts (such as scatter plots, line plots, heatmaps, bar charts), which can be linked to each other or to other interactive elements with just few lines of code.

Travis Build Status CRAN_Status_Badge Downloads

rlc

This package is an R wrapper for the JavaScript linked-charts library. rlc is an easy to use instrument for interactive data visualisation. It allows to open interactive charts either in the RStudio Viewer or in the default browser window and on the fly process information about user's action (clicking, hovering with mouse, selecting points) in the running R session. This makes it easy to link the charts so that clicks on one of them change the state of the others.

Installation

rlc can be installed from CRAN:

install.package("rlc")

You can also install the latest developmental version from GitHub:

install.packages("devtools")
devtools::install_github("anders-biostat/rlc")

Types of charts

Currently supported types of charts are:

  • lc_heatmap - heatmap
  • lc_scatter - scatter plot
  • lc_beeswarm - bee swarm plot (either vertical or horizontal)
  • lc_line - lines, defined by sets of X and Y coordinates
  • lc_path - lines, defined by sets of X and Y coordinates in a given order
  • lc_abLine - lines, defined by slope (a) and intercept (b) values
  • lc_vLine - vertical lines
  • lc_hLine - horizontal lines
  • lc_dens - density plot
  • lc_hist - histogram
  • lc_bars - bar chart

Other elements

  • lc_colourSlider - an additional element to interactively change a continuous colour scale of any other chart.
  • lc_html - customary HTML code to be inserted in the web page.
  • lc_input - five types of HTML <input> tag: text, radio, checkbox, range and button.
  • lc_image - adds a static plot or any image to the web page.

Examples

To see how it works, have a look at these tutorials.

Metadata

Version

0.5.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows