Variant2snp: Get SNPs from variant data

Description Usage Arguments Examples

View source: R/utpalFunctions.R

Description

This function takes a vector of variants (e.g. "73G", "73+G", 73-" ) and returns a tibble with three columns : Pos, Allele and Type that contain information on the genomic position, nucleotide base and type of mutation (i.e. "Substitution", "Insertion" and "Deletion")resecptively for each variant

Usage

1
Variant2snp(Variant)

Arguments

Variant

A vector of variants (character strings). See Snp2variant for description

Examples

1
2
# Variant2snp("73G")
# Variant2snp(c("73G", "95-", "146+C"))

Ahhgust/MMDIT documentation built on Jan. 27, 2021, 11:48 a.m.