R Is Ready to Rumble

By BIO-IT World

INside the Box - Bill van Etten

July 14, 2004 | Anyone who's done it knows that microarray analysis can be computationally intensive. However, much of the microarray analysis software out there is proprietary, runs only on Windows, and executes as a single process on a single machine (not very scalable). The BioTeam was recently asked to implement a free, open-source, cross-platform, and cluster-enabled solution for high-performance microarray analysis. As part of the solution, we made use of R and several R packages from BioConductor. We thought we should share some of what we learned.


What is R? 
Grossly oversimplified, R is what you use when your data analysis and plotting requirements exceed the functionality of Excel but you don't want to buy a commercial package. R is rapidly gaining widespread acceptance, use, and utility within the bioinformatics community due to its rich functionality, open-source licensing, ease of extensibility, and broad developer support from a worldwide community.

R is both an interpreted programming language and an application environment for the performance of statistical computing and graphing. It consists of a language, run-time environment, graphics engine, and debugger, and it has the ability to execute stored R scripts. R is available for free under the terms of the Free Software Foundation's GNU General Public License in source-code form, and it compiles and runs on a wide variety of Unix-based platforms (including FreeBSD, Linux, and Mac OS X) and Windows.

The R language allows branching, looping, and modular programming using functions. Built-in R user functions are written in R; however, it is possible for the user to provide an interface to procedures written in C, C++, or Fortran for higher performance.


R IS FOR RENDER: R incorporates functions to generate a variety of graphs and plots. Shown here are a few examples of the package's data presentation capabilities.
The core R distribution provides a wide variety of statistical functions, including linear and nonlinear modeling, time series analysis, parametric and nonparametric tests, clustering, and smoothing. Also, many functions provide a flexible graphical environment for publication-quality data presentations in many common graphics formats.

In addition to the R core, R is easily extended through the network-based installation of additional modules (add-on packages) that are available for a variety of specific purposes.

R users have available to them the Comprehensive R Archive Network, with several hundred user-contributed packages ranging from abind (combines multidimensional arrays) to zoo (methods for ordered indexed observations).

Two other large open-source R package repositories of note are Omegahat and BioConductor. The Omegahat packages extend R with intersystem interfaces to things like Java, Perl, Python, and CORBA. BioConductor provides nearly 100 packages that extend R for bioinformatics research ranging from rendering annotations of public genomic data to microarray analysis.

The minimal graphical user interface to R (for Linux, Mac OS X, and Windows) provides a console within a window and menus for basic functions. However, to get the most from R, the user operates either through the built-in shell command interpreter or through command-line execution of text-edited R scripts. The command-line interface makes it rather trivial to submit and execute R scripts over a scalable cluster architecture using a distributed resource management system, such as Sun GridEngine.

With all the components in place, the few remaining bits involve parallelizing the R code for high performance, which we'll leave as an exercise for the reader.



Bill Van Etten is a consultant for The BioTeam. E-mail: bill@bioteam.net. 


White Papers & Special Reports

thomson reuters image
Biomarkers: An Indispensible Addition to the Drug Development Toolkit
Examining the Potential of Biomarkers
Sponsored by Thomson Reuters

Biomarkers are becoming an essential part of clinical development. In this white paper, Thomson Reuters provides insight from experts in industry and academia, and explores the role of biomarkers as evaluative tools in improving clinical research and the challenges this presents.

Discover the potential of biomarkers to:

  • Improve decision making
  • Accelerate drug development
  • Reduce development costs


BlueArc_Scientific Data
Scientific Data Lifecycle Management: Preparing for Storage in an Uncertain Future
Sponsored by BlueArc

Managing vast and overwhelming streams of gene sequencing data today requires ultra-high performance systems and processes. With continued rapid advancement and improvements in gene sequencing, expect tomorrow’s instruments to output quantities of genomic information that will dwarf current levels. Help your organization maintain data control and prepare for the future of sequencing through this informative paper that discusses:

  • The information technology challenges of gene sequencing
  • “Intelligent” methods for data management and customization
  • System survival tips... Deciding what data to keep or delete
  • New tools to keep scientists ahead of impending data torrents


SAS Managed image
Managed Innovation, Assured Compliance
Developing, executing and managing the transformation, analysis and submission of clinical research data with SAS® Drug Development
Sponsored by SAS
Get better products to market faster. Download this white paper to discover the top ten challenges facing life science executives and how to overcome them. See how SAS Drug Development transforms clinical data into true innovation.


Life Science Webcasts & Podcasts

Presented by Trade Commission of Spain

Spain Biotech: An Engine for Economic Change 

TCS podcastDiscover how Spain is focusing on biotechnology to be an engine for economic change through gradual internationalization, development and technology transfer.

Regional governments are actively investing in public and private biology research and promoting the creation of knowledge-based companies. Spain’s human capital combined with aggressive investment in biotech research and infrastructure has led to the creation of bio-clusters.

Today, there are nearly 700 Spanish companies engaged in biotechnology, with almost 50 percent growth in funding devoted to research. In fact, spending on internal R & D in biotechnology has grown 46 percent and is close to 300 million Euros.

Access the podcast 

 



More Podcasts

Job Openings

saic_logo

MANAGER, SCIENTIFIC COMPUTING & PROGRAMMING
(Bioinformatics Manager)
SAIC-Frederick, Inc has an exciting opportunity for a Manager, Scientific Computing & Programming - Core Genoytyping Facility in Gaithersburg, Maryland.  In this role, you will lead the Bioinformatics & Analysis Group.
Master’s or equivalent required.  PhD preferred. Six years experience in development of scientific programs in high-performance computing environment including five years supporting scientific research in computational chemistry, biology, or genetics, & two years supervisory experience.  View complete job posting & apply: www.saic-frederick.com. Position #146945.





For reprints and/or copyright permission, please contact The YGS Group, 1808 Colonial Village Lane, Lancaster, PA;

(717) 399-1900 ext. 125, or via email to Ashley.Zander@theYGSgroup.com.