CRImage - tumour image analysis
CRImage provides image analysis tools for segmentation, classification, and downstream analysis of tumour section images. In particular, it allows cellularity scoring of tumours which can then be applied to correct molecular assay data for varying cellularity. The package also comes with a novel algorithm for copy-number data correction, given SNP microarray data and cellular content of the tumours estimated by the image analysis.
Segmentation and classification of cell types. CRImage uses supervised classification techniques trained by expert pathologists to identify different cell types in H&E-stained tumour images.
Automated image analysis results assist pathologists. For example, this heatmap shows the density of cancer cells in tumour sections. CRImage summarizes its results in quantitative cellularity scores for each tumour section.
Quantitative cellularity deconvolution increases signal-to-noise ratio in DNA copy number data. Correcting copy number profiles for tumour cellularity helps to identify alterations that would be too weak to notice in a mixture with normal cells.
Download and Installation
You can download the package from Bioconductor.
To install this package directly in R type:
A step-by-step guide for Mac OS
To install CRImage you need the EBImage R package, which requires: X11,ImageMagick, GTK+(optional). Here is an example step-by-step guide to install CRImage on Mac OS.
- X11: standard app installation on Mac
- download and install Macport
- in terminal, type the following (without the $)
$ sudo port install ImageMagick
- verify if installed correctly
$ convert logo: logo.gif
$ identify logo.gif
$ display logo.gif
- EBImage: Download the latest EBImage package source
file from Bioconductor, then type the following in terminal
(replace EBImage_package_source_file with your file path to the
downloaded EBImage .tar.gz file)
$ echo "source('http://bioconductor.org/biocLite.R') ; biocLite();biocLite(c('methods', 'graphics', 'stats', 'abind', 'utils', 'tiff', 'jpeg', 'png'))" | R --vanilla
$ R CMD INSTALL EBImage_package_source_file
- CRImage: Download our CRImage package for 64
bits directly to your Downloads folder, then
$ echo "source('http://bioconductor.org/biocLite.R') ; biocLite();biocLite(c('DNAcopy', 'aCGH','MASS', 'e1071', 'foreach', 'ReadImages','sgeostat'))" | R --vanilla
$ R CMD install --no-multiarch ~/Downloads/CRImage_1.1.8.tar.gz
Quantitative image analysis of cellular heterogeneity in breast tumors complements genomic profiling
Y. Yuan, H. Failmezger, O.M. Rueda, H.R. Ali, S. Gräf, S-F. Chin, R.F. Schwarz, C Curtis, M.J. Dunning, H. Bardwell, N. Johnson, S. Doyle, G. Turashvili, E. Provenzano, S. Aparicio, C. Caldas, F. Markowetz
Science Translational Medicine, 4, 157ra142 (2012)
PMID:23100629 | doi:10.1126/scitranslmed.3004330