Lesson 5: Visual Multivariate Analysis
Content
- Correlation Matrix
- Multivariate Data Visualisation
- ternary plot
- Glyphs or Star Plot
- heatmap
- parallel coordinate plot
- parallel plot
- Space-constrained visualization of hierarchies
- Treemaps
- Sunburst diagram
Lesson Slides and Hands-on Notes
Readings
Core Readings
Multivariate Methods
Treemaps
Optional Readings
Multivariate Methods
Treemaps
R Packages
Correlation Matrix
- ggscatmat and ggpairs of GGally.
- corrplot. A graphical display of a correlation matrix or general matrix. It also contains some algorithms to do matrix reordering. In addition, corrplot is good at details, including choosing color, text labels, color labels, layout, etc.
- corrgram calculates correlation of variables and displays the results graphically. Included panel functions can display points, shading, ellipses, and correlation values with confidence intervals.
Heatmap
Static heatmap
- heatmap() of R stats package. It draws a simple heatmap.
- heatmap.2() of gplots R package. It draws an enhanced heatmap compared to the R base function.
- pheatmap() of pheatmap R package. pheatmap package also known as Pretty Heatmap. The package provides functions to draws pretty heatmaps and provides more control to change the appearance of heatmaps.
- ComplexHeatmap package of R/Bioconductor package. The package draws, annotates and arranges complex heatmaps (very useful for genomic data analysis). The full reference guide of the package is available here.
- superheat package: A Graphical Tool for Exploring Complex Datasets Using Heatmaps. A system for generating extendable and customizable heatmaps for exploring complex datasets, including big data and data with multiple data types. The full reference guide of the package is available here.
Interactive Heatmap
- heatmaply: Make Interactive Cluster Heat Maps Using ‘plotly’
- d3heatmap: Make Interactive Heat Maps Using ‘htmlwidgets’ and ’D3.js.
- iheatmapr makes complex, interactive heatmaps. Detail information are available at here.
Treemaps
Sunburst Diagram