genotypes_df | R Documentation |
A tools4ukbb function Function output: a dataframe with one eid column and one column per variant you select. The variant columns contain the genotypes of each individual. This function, unlike get_genotypes, requires a genotype list and, thus, knowledge of the chromosome your selected variants are located on
A tools4ukbb function Function output: a dataframe with one eid column and one column per variant you select. The variant columns contain the genotypes of each individual.
genotypes_df(variants, pgen_list, psam) genotypes_df(variants, pgen_list, psam)
variants |
a list of variants you are interested in |
variants_df |
dataframe with 3 columns: variant names, their chromosome, and their index |
directory |
the directory with your pvar, pgen, and psam files |
genotypes_df() genotypes_df()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.