Skip to contents

Given a variant in the format "", returns the substring representing the reference-to-alternate change (e.g. "A_T").

Usage

add_changes(variant)

Arguments

variant

Character vector of variant strings ("").

Value

Character vector of nucleotide changes ("_").

Examples

add_changes("150_A_G")  # returns "A_G"
#> [1] "A_G"