get_genotypes_from_pgen: A tools4ukbb function Function output: grouped datframe to be...

View source: R/get_genotypes_from_pgen.R

get_genotypes_from_pgenR Documentation

A tools4ukbb function Function output: grouped datframe to be used in get_genotype. Do not use this function alone except for unit testing.

Description

A tools4ukbb function Function output: grouped datframe to be used in get_genotype. Do not use this function alone except for unit testing.

Usage

get_genotypes_from_pgen(variants, variants_df, pgen_list)

Arguments

variants

a list of variants you are interested in

variants_df

dataframe with 3 columns: variant names, their chromosome, and their index

pgen_list

list of pgens generated from get_pgen_list

Examples

get_genotypes_from_pgen()

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