Determines whether each variant is a SNP, insertion, deletion, or multi-nucleotide polymorphism (MNP) based on the allele lengths.
Arguments
- ids
A character vector of variant IDs in "chr:pos:ref:alt" format, or a data.frame with A2 (ref) and A1 (alt) columns (e.g., from
parseVariantId).