vcfR
vcfR copied to clipboard
tidyr data structures
VCF data may take the form of:
POS REF ALT 1110696 A G,T
A tidR representation would be:
POS REF ALT 1110696 A G 1110696 A T
Implementing this, however, would break the relationship among rows in vcfR@fix and vcfR@gt. It appears that a tidyR solution would be to implement a primary key for each variant. This would provide a unique identifier for each variant and allow for the selection of a variant's data from either the @fix or @gt slot. This may require a little homework to implement.