View source: R/locusValidator.R
multiLocusValidation | R Documentation |
Applies validateLocus() to a vector of locus names, validates them against HLAgazeteer$gen, and returns a vector of validated locus names.
multiLocusValidation(loci, source = "gDNA", verbose = TRUE)
loci |
A character vector of locus names found in the current HLAgazeteer. |
source |
A character vector describing the type of alignment 'loci' should be validated against. Allowed options are 'AA' (protein), 'cDNA' (nucleotide) and 'gDNA' (genomic). Only a single value should be provided. The default value is 'gen'. |
verbose |
A logical value. If 'verbose' = TRUE, messages describing invalid 'loci' or 'source' values are generated. If 'verbose' = FALSE, no messages are generated. |
A character vector of locus names that are present in HLAgazeteer$gen.
The results of this check should only be considered valid for the IPD-IMGT/HLA Database release version of the current HLAgazeteer.
multiLocusValidation(loci = c("DRB1","DPB1","DQB8"))
multiLocusValidation(loci = c("A","B","C","D","Q"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.