get_n_snps_from_bim_table: Get the number of SNPs from a '.bim' table

View source: R/get_n_snps.R

get_n_snps_from_bim_tableR Documentation

Get the number of SNPs from a .bim table

Description

Get the number of SNPs from a .bim table

Usage

get_n_snps_from_bim_table(bim_table)

Arguments

bim_table

a tibble of the genetic mapping, with as many rows as SNPs.

Each row contains:

  • chr: the chromosome number

  • id: the SNP ID

  • posg: the position

  • pos: the position

  • ref: something

  • alt: something

Use get_test_bim_table to get a .bim table as used in testing. Use read_plink_bim_file to read a PLINK .bim file. Use check_bim_table to test if a .bim table is valid.

Value

the number of SNPs


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