Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

snp_readBGI

Read variant info from one BGI file


Description

Read variant info from one BGI file

Usage

snp_readBGI(bgifile, snp_id = NULL)

Arguments

bgifile

Path to one file with extension ".bgi".

snp_id

Character vector of SNP IDs. These should be in the form "<chr>_<pos>_<a1>_<a2>" (e.g. "1_88169_C_T" or "01_88169_C_T"). This function assumes that these IDs are uniquely identifying variants. Default is NULL, and returns information on all variants.

Value

A data frame containing variant information.


bigsnpr

Analysis of Massive SNP Arrays

v1.10.8
GPL-3
Authors
Florian Privé [aut, cre], Michael Blum [ths], Hugues Aschard [ths], Bjarni Jóhann Vilhjálmsson [ths]
Initial release
2022-07-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.