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 Adjust Positions of Axis Labels in Matplotlib?

How To Adjust Axes Label Position in Matplotlib?

In this post, we will learn how to adjust positions of x-axis and y-axis labels in Matplotlib in Python. By default, plots with matplotlib places the axis labels in the middle. With matplotlib version 3.3.0, the matplotlib functions set_xlabel and set_ylabel have a new parameter “loc” that can help adjust the positions of axis labels.… Continue reading How To Adjust Positions of Axis Labels in Matplotlib?

How to Make ECDF plot with Seaborn in Python?

ECDF plot of multiple distributions

ECDF plot, aka, Empirical Cumulative Density Function plot is one of the ways to visualize one or more distributions. In this post, we will learn how to make ECDF plot using Seaborn in Python. Till recently, we have to make ECDF plot from scratch and there was no out of the box function to make… Continue reading How to Make ECDF plot with Seaborn in Python?

How to Make Boxplot with Jittered Data Points using Altair in Python

Boxplot with jittered data points Altair

In this post, we will learn how to make boxplot with data points using Altair. Latest version of Altair supports making simple boxplots. However, current version of Altair does not support adding adding jittered data points on top of boxplots. Thanks to Justin Bois from Caltech, we can use his data visualization utility package Altair-catplot,… Continue reading How to Make Boxplot with Jittered Data Points using Altair in Python

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