1 Install package

if (!require("BiocManager"))
    install.packages("BiocManager")
BiocManager::install("ggmsa")

2 Introduction

ggmsa is a package designed to plot multiple sequence alignments.

This package implements functions to visualize publication-quality multiple sequence alignments (protein/DNA/RNA) in R extremely simple and powerful. It uses module design to annotate sequence alignments and allows to accept other data sets for diagrams combination.

In this tutorial, we’ll work through the basics of using ggmsa.

library(ggmsa)