View source: R/allele_cluster.R
ighvDistance | R Documentation |
Calculates the distance between pairs of alleles based on their aligned germline sequences. The function assume the germline set sequence are at an even length. If not the function will pad the sequences with to the longest sequence length with Ns.
ighvDistance(germline_set, AA = FALSE)
germline_set |
A character list of the IMGT aligned IGHV allele sequences. See details for curating options. |
AA |
Logical (FALSE by default). If to calculate the distance based on the amino acid sequences. |
The aligned IMGT IGHV allele germline set can be download from the IMGT site https://www.imgt.org/ under the section genedb.
A matrix
of the computed distances between the alleles pairs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.