get_variants: A tools4ukbb function Function output: output a table with...

View source: R/get_variants.R

get_variantsR Documentation

A tools4ukbb function Function output: output a table with three columns: variant_ids, chromosome, index.

Description

A tools4ukbb function Function output: output a table with three columns: variant_ids, chromosome, index.

Usage

get_variants(chr_list, directory)

Arguments

chr_list

a list of chromosomes you are selecting and how they are labeled (eg: chr_list <- c("c2", "c3") OR chr_list <- c("chr2", "chr3"))

directory

the directory with your pvar, pgen, and psam files

Examples

get_variants()

Lab-Jaiswal/tools4ukbb documentation built on May 12, 2022, 9:11 a.m.