Coder Social home page Coder Social logo

rlc's Introduction

rlc

This package is an R wrapper fot 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, mousehovering, 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

To install rlc from GitHub use the following commands:

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 - beeswarm plot (either vertical or horizontal)
  • lc_line - lines, defined by sets of X and Y coordinates
  • 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 - barchart

Other elements

  • lc_colourSlider - an additional element that can interactively change a continuous colour scale of any other chart
  • lc_html - customary HTML code to be inserted in the web page

Examples

To see how it works, have a look at this tutorial.

rlc's People

Contributors

simon-anders avatar kloivenn avatar felixthestudent avatar lkremer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.