plotAlignment: Visualize multiple sequence alignment of CDR3 sequences

View source: R/plotAlignment.R

plotAlignmentR Documentation

Visualize multiple sequence alignment of CDR3 sequences

Description

Generate MSA alignment figures from the results of alignSeq

Usage

plotAlignment(msa)

Arguments

msa

An msa object obtained from alignSeq function in LymphoSeq2.

Value

Multiple sequence alignment plot.

See Also

The function utilizes ggmsa package for visualizations. Further details on ggmsa can be found at the link mentioned below. https://cran.r-project.org/web/packages/ggmsa/vignettes/ggmsa.html

Examples

file_path <- system.file("extdata", "IGH_sequencing", package = "LymphoSeq2")

stable <- readImmunoSeq(path = file_path)

ntable <- productiveSeq(stable, aggregate = "junction")

msa <- alignSeq(ntable, repertoire_id = "IGH_MVQ92552A_BL", type = "junction", 
         method = "ClustalW")


elulu3/LymphoSeqTest documentation built on Aug. 27, 2022, 5:47 a.m.