notebook

This notebook serves as my knowledge repository, where I document and share the techniques and command lines I frequently use but often forget, saving me from endless googling.

Categories

Notes per category

R

color palette from wesanderson R package

less than 1 minute read

The wesanderson R package offers a variety of beautiful color palettes inspired by Wes Anderson’s films, which can bring a unique and appealing aesthetic to ...

how to use pivot_wider() in R?

1 minute read

In data analysis, it’s common to encounter datasets that need reshaping to make them suitable for analysis or visualization. The tidyr package in R provides ...

how to use pivot_longer() in R?

1 minute read

In data analysis, it’s common to encounter datasets that need reshaping to make them suitable for analysis or visualization. The tidyr package in R provides ...

customizing heatmap with complexHeatmap

1 minute read

In this post, we will explore two features to customize heatmaps: customize the border of the heatmap cell display text inside each cell

get color palette with viridisLite

1 minute read

Choosing the right color palette is essential for effective and accessible data visualizations. The viridisLite package in R offers several color palettes: v...

stunning boxplots with ggplot2

1 minute read

Creating visually appealing boxplots in R can be easily achieved using the ggplot2 package. Here, we demonstrate how to use ggplot2 along with viridisLite an...

removing NA values with na.omit in R

less than 1 minute read

When working with data in R, you may encounter missing values (NAs) that need to be removed to perform certain analyses. The na.omit function is a convenient...

add an interactive pause in your R script

less than 1 minute read

When writing R scripts, there are times when you might want to pause the execution to allow the user to read output or perform an intermediate task before co...

Back to top ↑

bash

verifying file integrity using md5sum

less than 1 minute read

Ensuring file integrity is crucial, especially when transferring or downloading files. One way to verify this in Linux is by using the md5sum -c command, whi...

useful slurm commands

1 minute read

SLURM (Simple Linux Utility for Resource Management) is a powerful and widely used job scheduler for high-performance computing (HPC) systems. It helps manag...

essential git commands and my favorite aliases

1 minute read

I rely heavily on Git for version control in my projects. Over time, I’ve found certain Git commands to be indispensable and have created aliases to streamli...

create a symbolic link

less than 1 minute read

Symbolic links (symlinks) are pointers to files or directories, helping you manage files efficiently.

untrack specific files in Git

1 minute read

When working on a project with Git, there are times when you may want to stop tracking certain files that are already being tracked. This might be necessary ...

remove .DS_Store files

less than 1 minute read

If you’re a macOS user, you might be familiar with the hidden .DS_Store files that macOS creates in every directory to store custom attributes of a folder su...

Back to top ↑

dataviz

color palette from wesanderson R package

less than 1 minute read

The wesanderson R package offers a variety of beautiful color palettes inspired by Wes Anderson’s films, which can bring a unique and appealing aesthetic to ...

customizing heatmap with complexHeatmap

1 minute read

In this post, we will explore two features to customize heatmaps: customize the border of the heatmap cell display text inside each cell

get color palette with viridisLite

1 minute read

Choosing the right color palette is essential for effective and accessible data visualizations. The viridisLite package in R offers several color palettes: v...

stunning boxplots with ggplot2

1 minute read

Creating visually appealing boxplots in R can be easily achieved using the ggplot2 package. Here, we demonstrate how to use ggplot2 along with viridisLite an...

Back to top ↑

data wrangling

how to use pivot_wider() in R?

1 minute read

In data analysis, it’s common to encounter datasets that need reshaping to make them suitable for analysis or visualization. The tidyr package in R provides ...

how to use pivot_longer() in R?

1 minute read

In data analysis, it’s common to encounter datasets that need reshaping to make them suitable for analysis or visualization. The tidyr package in R provides ...

removing NA values with na.omit in R

less than 1 minute read

When working with data in R, you may encounter missing values (NAs) that need to be removed to perform certain analyses. The na.omit function is a convenient...

Back to top ↑

web development

add horizontal lines in HTML with <hr>

less than 1 minute read

Horizontal lines help divide content and create sections, improving readability. HTML provides an easy way to add horizontal lines using the <hr> (hori...

how to comment in a css file

less than 1 minute read

Purpose of comments Comments in a CSS file are used to provide explanations or annotations within the code. They are helpful for: Describing the purpose o...

Back to top ↑

macOS

remove .DS_Store files

less than 1 minute read

If you’re a macOS user, you might be familiar with the hidden .DS_Store files that macOS creates in every directory to store custom attributes of a folder su...

Back to top ↑

alias

essential git commands and my favorite aliases

1 minute read

I rely heavily on Git for version control in my projects. Over time, I’ve found certain Git commands to be indispensable and have created aliases to streamli...

remove .DS_Store files

less than 1 minute read

If you’re a macOS user, you might be familiar with the hidden .DS_Store files that macOS creates in every directory to store custom attributes of a folder su...

Back to top ↑

css

add horizontal lines in HTML with <hr>

less than 1 minute read

Horizontal lines help divide content and create sections, improving readability. HTML provides an easy way to add horizontal lines using the <hr> (hori...

how to comment in a css file

less than 1 minute read

Purpose of comments Comments in a CSS file are used to provide explanations or annotations within the code. They are helpful for: Describing the purpose o...

Back to top ↑

git

essential git commands and my favorite aliases

1 minute read

I rely heavily on Git for version control in my projects. Over time, I’ve found certain Git commands to be indispensable and have created aliases to streamli...

untrack specific files in Git

1 minute read

When working on a project with Git, there are times when you may want to stop tracking certain files that are already being tracked. This might be necessary ...

Back to top ↑

slurm

useful slurm commands

1 minute read

SLURM (Simple Linux Utility for Resource Management) is a powerful and widely used job scheduler for high-performance computing (HPC) systems. It helps manag...

Back to top ↑

compute cluster

useful slurm commands

1 minute read

SLURM (Simple Linux Utility for Resource Management) is a powerful and widely used job scheduler for high-performance computing (HPC) systems. It helps manag...

Back to top ↑

vtqc

Back to top ↑

html

add horizontal lines in HTML with <hr>

less than 1 minute read

Horizontal lines help divide content and create sections, improving readability. HTML provides an easy way to add horizontal lines using the <hr> (hori...

Back to top ↑

color

color palette from wesanderson R package

less than 1 minute read

The wesanderson R package offers a variety of beautiful color palettes inspired by Wes Anderson’s films, which can bring a unique and appealing aesthetic to ...

get color palette with viridisLite

1 minute read

Choosing the right color palette is essential for effective and accessible data visualizations. The viridisLite package in R offers several color palettes: v...

Back to top ↑

markdown

superscript and subscript in markdown

less than 1 minute read

Superscript To create superscript text in Markdown, you can use the <sup> tag: 1<sup>er</sup> This will render as: 1er

Back to top ↑

fastqc

Back to top ↑

bioinfo

Back to top ↑

ngs (next-generation sequencing)

Back to top ↑

highcharts

Back to top ↑

prettyprint

Back to top ↑