View source: R/plotAlignment.R
plotAlignment | R Documentation |
Generate MSA alignment figures from the results of alignSeq
plotAlignment(msa)
msa |
An msa object obtained from alignSeq function in LymphoSeq2. |
Multiple sequence alignment plot.
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
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.