How to reorder barplots with facetting with ggplot2 in R?

Reordering barplots with facet : Using reorder_within()

Reordering bars in barplot either in ascending or descending order can help quickly see how the groups/categories vary. When you have a thrid variable, adding facet to the barplot can be very useful. In this tutorial, we will see how to reorder bars in barplot with facetting by a thrid variable using ggplot2 in R.… Continue reading How to reorder barplots with facetting with ggplot2 in R?

6 Tips to Make Beautiful Tables with R Package gt

How to add colors to rows gt table?

Making tables as part of your data visualization strategy can be a hit or miss. For example, a table with too many numbers screams for a plot instead of a table. Basically, challenge lies in using tables at the right time in right way. Luckily, we are in a much better position to make beautiful… Continue reading 6 Tips to Make Beautiful Tables with R Package gt

How To Make Heatmaps in R with ComplexHeatmap?

Combine Two Heatmaps with Common legend in R

Heatmaps are a great way visualize a numerical dataset in a matrix form. Basically, a heatmap shows the actual data values as colors. When there is a broad trend in data, like change in data over rows or columns of data, a heat map makes it easy to see the broader trend. In this tutorial,… Continue reading How To Make Heatmaps in R with ComplexHeatmap?

How to Make Heatmaps in R with pheatmap?

Heatmap with pheatmap: Clustering columns

Heatmaps are one of the ways to visualize quantitative data in two dimension. Heatmaps show the actual data as colors and can reveal common patterns easily. In R, there are multiple ways to make heatmap starting from data in matrix form. In this post, we will learn how to make simple heatmaps with using pheatmap… Continue reading How to Make Heatmaps in R with pheatmap?

How to Save Multiple DataFrames to a Single Excel File in R?

Int his tutorial, we will see how to save a dataframe into an excel file in R. We will use the R package openxlsx to save dataframes as xlsx files. We will start with writing a single dataframe into an excel file with one sheet. Next, we will see how to save multiple dataframes into… Continue reading How to Save Multiple DataFrames to a Single Excel File in R?

Exit mobile version