Skip to end of metadata
Go to start of metadata

GIRI (Generic Integration of R into I2b2)

Short Description

The project follows a similar goal as the "R Engine Cell" of the University of Pavia and rgate (HERON) of the University of Kansas: To make arbitrary R functions available within i2b2. In contrast to these approaches, it is very simple to add new statistical functionality with GIRI. To do so, it is sufficient to write an R script and an optional XML configuration file to add what is known as a "Scriptlet" (a kind of an addon) that comprises one or more R functions. In particular, it is not necessary to implement an i2b2 webclient plugin for every newly added scriptlet individually. The end user simply selects the desired scriptlet from a drop down list from a generic i2b2 webclient plugin and has then several options to customize the input data (e.g. drag and drop patient sets / concepts). Afterwards, he clicks on "View Results" to start computations. The following results page can - depending on the scriptlet - consist of numerical / textual values, tables and plots. Additionally, all data can be exported as files.


A simple scriptlet could compute two quantiles of age from a previously selected patient set. The end user can define the p values. Here is a step-by-step guide to using the scriptlet:

Specify the input data:

Afterwards click on "View Results" to start the computation:

The scriptlet consists of two files that have to be stored on the server where the GIRI Cell is running. The first one is the R script including the following R code:


Accessing input and output is possible by using special naming conventions (GIRI.patients, GIRI.input, GIRI.output...). Plots are always displayed.

The second file configures the R scriptlet through XML code:


Settings, input variables and outputs are defined in this configuration file. For more information about creating scriptlets see the notes for scriptlet developers.

The following slide show depicts a scriptlet that computes a Kaplan Meier plot:


The download package contains the GIRI Cell, the GIRI webclient plugin, install notes, notes for scriptlet developers and example scriptlets. This version is dedicated for i2b2 version 1.7.02 (does not work with 1.7.01!).

  • No labels


  1. Anonymous

    Greetings! Very helpful advice in this particular post! It is the little changes which will make the most significant changes. Thanks a lot for sharing!
  2. Anonymous

    Hey would you mind stating which blog platform you're using? I'm going to start my own blog in the near future but I'm having a hard time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I'm looking for something completely unique. P.S Sorry for getting off-topic but I had to ask!
  3. Anonymous

    I loved as much as you will receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get got an nervousness over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly a lot often inside case you shield this increase.
  4. Anonymous

    Hurrah, that's what I was searching for, what a material! existing here at this web site, thanks admin of this web site.
  5. Anonymous

    I just like the valuable information you provide to your articles. I will bookmark your blog and take a look at once more right here frequently. I am quite sure I'll learn many new stuff proper right here! Good luck for the next!
  6. Anonymous

    I simply couldn't depart your website before suggesting that I really enjoyed the usual info a person provide for your guests? Is going to be back steadily to inspect new posts
  7. Anonymous

    hey there and thank you for your info – I've certainly picked up something new from right here. I did however expertise several technical points using this site, since I experienced to reload the website a lot of times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I am complaining, but sluggish loading instances times will sometimes affect your placement in google and could damage your quality score if advertising and marketing with Adwords. Well I am adding this RSS to my email and could look out for much more of your respective exciting content. Ensure that you update this again soon.
Write a comment…