check_snvs: Check the single nucleotide variations.

View source: R/check_snvs.R

check_snvsR Documentation

Check the single nucleotide variations.

Description

Check if the single nucleotide variations are valid, will stop if not

Usage

check_snvs(snvs)

Arguments

snvs

a tibble that contains the two nucleotide calls for multiple individuals. Each column is a haplotype, hence, for a diploid organism, there are two columns. Each individual is represented by a row. Nucleotides are in uppercase. Per SNV table, there can be only two different nucleotides, as this is how a SNP works; a SNP from A to C is a different one (and has a different SNP ID) than a SNP that encodes a mutation for A to G. Use create_snvs to create a snvs.

Author(s)

Richèl J.C. Bilderbeek


richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.