BLAASD: BLAASD - Build Loci Amino Acid Specific Dataframe

Description Usage Arguments Value Examples

View source: R/BLAASD.R

Description

Extracts alignment sequence information for a given locus from the ANHIG/IMGTHLA GitHub repository to produce a dataframe of individual amino acid data for each amino acid position for all alleles, for a user-defined HLA locus or loci. The first 4 columns are locus, allele, trimmed allele, and allele_name.

Usage

1
BLAASD(loci)

Arguments

loci

A vector of un-prefixed HLA locus names

Value

A list object of data frames for each specified locus. Each list element is a data frame of allele names and the corresponding peptide sequence for each amino acid position. An error message is return if the loci input is not a locus for which petpide alignments are available in the ANHIG/IMGTHLA Github Repository.

Examples

1
2
3
4
5
#BLAASD with one locus as input
BLAASD("C")

#BLAASD with multiple loci as input
BLAASD(c("A", "B", "C"))

SSHAARP documentation built on Sept. 17, 2021, 9:07 a.m.