get_n_snps_from_pvar_table: Get the number of SNPs from a '.pvar' table

View source: R/get_n_snps.R

get_n_snps_from_pvar_tableR Documentation

Get the number of SNPs from a .pvar table

Description

Get the number of SNPs from a .pvar table

Usage

get_n_snps_from_pvar_table(pvar_table)

Arguments

pvar_table

a tibble with as much rows as SNPs. It has the following columns:

  • CHROM: the chromosome

  • POS: the position on the chromosome

  • ID: the SNP ID

  • REF: the reference variant

  • ALT: the alternate variant

The uppercase column names are those as used by PLINK2.

Value

the number of SNPs


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