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

variants_per_chromosomeR Documentation

A tools4ukbb function Function output: output a table with three columns: variant_ids, chromosome, index. Only one chromosome can be selected. This is for use in the get_variants function.

Description

A tools4ukbb function Function output: output a table with three columns: variant_ids, chromosome, index. Only one chromosome can be selected. This is for use in the get_variants function.

Usage

variants_per_chromosome(chromosome, directory)

Arguments

chromosome

which chromosome you are selecting and how it is labeled (eg: for chromosome 2 of sample3_chr2.pvar, chromsome = "chr2" OR for s1_c2.pvar, chromosome = "c2")

directory

the directory with your pvar, pgen, and psam files

Examples

variants_per_chromosome()

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