Add P-values and Significance Levels to ggplots
In this article, we’ll describe how to easily i) compare means of two or multiple groups; ii) and to automatically add p-values and significance levels to a ggplot (such as box plots, dot plots, bar...
View ArticleFacilitating Exploratory Data Visualization: Application to TCGA Genomic Data
In genomic fields, it’s very common to explore the gene expression profile of one or a list of genes involved in a pathway of interest. Here, we present some helper functions in the ggpubr R package to...
View ArticleBar Plots and Modern Alternatives
This article describes how to create easily basic and ordered bar plots using ggplot2 based helper functions available in the ggpubr R package. We’ll also present some modern alternatives to bar plots,...
View Articleggplot2 - Easy way to mix multiple graphs on the same page
To arrange multipleggplot2 graphs on the same page, the standard R functions - par() and layout() - cannot be used.The basic solution is to use the gridExtra R package, which comes with the following...
View ArticleF-Test: Compare Two Variances in R
F-test is used to assess whether the variances of two populations (A and B) are equal. ContentsWhen to you use F-test?Research questions and statistical hypothesesFormula of F-testCompute F-test in RR...
View ArticleSaving High-Resolution ggplots: How to Preserve Semi-Transparency
This article describes solutions for preserving semi-transparency when saving a ggplot2-based graphs into a high quality postscript (.eps) file format.Contents:Create a ggplot with semi-transparent...
View ArticleElegant correlation table using xtable R package
Correlation matrix analysis is an important method to find dependence between variables. Computing correlation matrix and drawing correlogram is explained here. The aim of this article is to show you...
View ArticlesimplyR
simplyR is a web space where we’ll be posting practical and easy guides for solving real important problems using R programming language. As we aren’t fans of unnecessary complications, we’ll keep the...
View ArticlePractical Guide to Principal Component Methods in R
Introduction Although there are several good books on principal component methods (PCMs) and related topics, we felt that many of them are either too theoretical or too advanced. This book provides a...
View ArticleThe Ultimate Guide To Partitioning Clustering
In this first volume of symplyR, we are excited to share our Practical Guides to Partioning Clustering. The course materials contain 3 chapters organized as follow: K-Means Clustering Essentials...
View Articleggpubr: Create Easily Publication Ready Plots
The ggpubr R package facilitates the creation of beautiful ggplot2-based graphs for researcher with non-advanced programming backgrounds. The current material presents a collection of articles for...
View ArticleRegression Analysis Essentials For Machine Learning
Regression analysis consists of a set of machine learning methods that allow us to predict a continuous outcome variable (y) based on the value of one or multiple predictor variables (x). Briefly, the...
View Articleggplot2 barplots : Quick start guide - R software and data visualization
Basic barplots Data Create barplots Bar plot with labels Barplot of counts Change barplot colors by groups Change outline colors Change fill colors Change the legend position Change the order of items...
View Articleggplot2 title : main, axis and legend titles
Prepare the data Example of plot Change the main title and axis labels Change the appearance of the main title and axis labels Remove x and y axis labels Infos The aim of this tutorial is to describe...
View Articleggplot2 colors : How to change colors automatically and manually?
Prepare the data Simple plots Use a single color Change colors by groups Default colors Change colors manually Use RColorBrewer palettes Use Wes Anderson color palettes Use gray colors Continuous...
View Articleggplot2 axis ticks : A guide to customize tick marks and labels
Data Example of plots Change the appearance of the axis tick mark labels Hide x and y axis tick mark labels Change axis lines Set axis ticks for discrete and continuous axes Customize a discrete axis...
View Articleggplot2 box plot : Quick start guide - R software and data visualization
Prepare the data Basic box plots Box plot with dots Change box plot colors by groups Change box plot line colors Change box plot fill colors Change the legend position Change the order of items in the...
View Articleggplot2 legend : Easy steps to change the position and the appearance of a...
Data Example of plot Change the legend position Change the legend title and text font styles Change the background color of the legend box Change the order of legend items Remove the plot legend...
View Articleggplot2 histogram plot : Quick start guide - R software and data visualization
Prepare the data Basic histogram plots Add mean line and density plot on the histogram Change histogram plot line types and colors Change histogram plot colors by groups Calculate the mean of each...
View Articleggplot2 scatter plots : Quick start guide - R software and data visualization
Prepare the data Basic scatter plots Label points in the scatter plot Add regression lines Change the appearance of points and lines Scatter plots with multiple groups Change the point...
View Article