Description Usage Arguments Value Note Author(s) References
Removes extraneous bases from variants after mult-allelic variants have been expanded in a VCF file. This function only fixes the REF and ALT fields of the @geno slot as well as the rownames (containing the variant name in the format chr:pos_ref/alt). The position component of the variant name is also corrected appropriately.
1 |
x |
A single row of a expanded VCF object (optionally) needing to be simplified |
A VCF object of length 1, with the REF, ALT and rowname simplified
As an example, the variant chr1:123456_GC/GA is simplified to chr1:123457_C/A
Alexander Hopkins
http://www.cureffi.org/2014/04/24/converting-genetic-variants-to-their-minimal-representation/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.