extract_allele_names | R Documentation |
Extract the alleles from the REF and ALT fields
.extract_allele_names(allele_info, allele_idx)
allele_info |
a character string vector (concatenated REF and ALT field of the vcf) |
allele_idx |
Matrix with indexes of the two alleles of interest for the different markers |
Extract the alleles from the REF and ALT fields
Return a matrix with the two alleles after parsing the alleles info
.extract_allele_names(c("A,C","A,C,T"),rbind(c(1,2),c(1,3)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.