I have a file exported from a PCR plate software. I need a code to convert the call variable ("Allele 1, Allele 2, Heterozygote and No Call") to the two separate variable ("G1-2 1" and "G1-2 2")
Definition
No call is blank
Allele 1 is +/+
Allele 2 is G11384M/G11384M (in superscript if this is possible in R)
Heterozygote is G11384M/+
Any help/guidance would be greatly appreciated
Orginal File Export
What I need
Data str
Classes ‘tbl_df’, ‘tbl’ and 'data.frame': 96 obs. of 2 variables:
$ Well: chr "A01""A02""A03""A04" ...
$ Call: chr "No Call""No Call""Allele 1""Allele 1" ...