get_all_variants | R Documentation |
A tools4ukbb function Function output: a dataframe with three columns: variants, chromosome, and index, which, respectfully indicate the name of the variant, the chromosome they are on, and their index (per chromosome).
get_all_variants(pattern, directory, variants)
pattern |
the pattern by which you are labeling your chromosomes (eg: for files of pattern sample3_chr2_date.pvar, chromsome = "chr" OR for s1_c2_date.pvar, chromosome = "c") |
directory |
the directory with your pvar, pgen, and psam files |
variants |
a list of variants you are interested in |
get_all_variants()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.