toUniformat | R Documentation |
Creates a .unif file containing the genetic infomation from a dataframe
toUniformat(typing, fname=NULL, loci=c('A', 'B', 'C', 'DRB1', 'DQB1', 'DPB1'), dict=NULL)
typing |
a dataframe with first column [IND] the identifiers and the allele information in paired locus columns (Locus_1, Locus_2); unknown alleles should be [NA] |
fname |
an optional filename to save the output; if [NULL]the output will be returned instead |
loci |
the loci to be exported in the Uniformat file |
dict |
the list dictionary containing the correspondence of ambiguous alleles |
res Uniformat formatted data
William Lemieux william.lemieux@hema-quebec.qc.ca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.