View source: R/verifyAlleleDataset.R
verifyAlleleDataset | R Documentation |
Verifies the allele entered is present in the specified dataset.
verifyAlleleDataset(allele, filename, alignments)
allele |
An allele name written in the IPD-IMGT/HLA Database format. |
filename |
The full file path of the user specified dataset if the user wishes to use their own file, or the pre-bundled Solberg dataset. User provided datasets must be a .dat, .txt, or.csv file, and must conform to the structure and format of the Solberg dataset. |
alignments |
A list object of sub-lists of data frames of protein alignments for the HLA and HLA-region genes supported in the ANHIG/IMGTHLA GitHub Repository. Alignments will always be the most recent version IPD-IMGT/HLA Database version. |
TRUE if the allele is present in the specified data set, and the filtered allele dataset. If a user enters an allele with more than two fields and has selected the Solberg dataset as the data source, a message informing the user that the allele has been truncated is appended to the output. If an allele entered is valid, but is not present in the user provided dataset, a warning message is returned.
For internal SSHAARP use only.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.