Source: https://monashbioinformaticsplatform.github.io/r-intro/r-intro.pdf