View source: R/buildAlignments.R
buildAlignments | R Documentation |
Returns a list of data frames of amino acid, codon, nucleotide and genomic alignments, with version information.
buildAlignments(loci, source, version = "Latest")
loci |
A character vector of HLA gene names (e.g., "DRB1", c("A","C")). |
source |
A character vector of alignment types. The allowed values are "AA", "cDNA", and "gDNA". If 'source' is "cDNA", both codon and cDNA nucleotide alignments are generated. If source is 'AA' or 'gDNA', a single peptide or genomic nucleotide alignment is generated. Up to four alignments will be returned for a locus, as determined by its ability to be transcribed or translated. |
version |
A character string describing the desired release version (branch) of the ANHIG/IMGTHLA Github repository (e.g. '3.53.0'). The default value ('Latest') returns alignments for the most recent release. |
A list object with a data frame of all allele names (and trimmed, two-field allele names) and their corresponding sequences (Amino Acid, codon, cDNA, or gDNA) for a specific locus, as well as version details for the returned information. These alignments identify locations of feature boundaries in relation to amino acid, codon, cDNA, and gDNA sequences. When a three- or four-field allele name includes an expression variant suffix, that suffix is appended to the trimmed name.
For internal HLAtools use.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.