convert_gtex_to_rsids | R Documentation |
GTEx IDs are in the format "chr_pos_ref_alt_build". To make it consistent with the rest of the package, we are converting them to rsids. We us the "gtex_lookup" which is a data.frame created by reading the gtex lookup file. (see: get_gtex_variants)
convert_gtex_to_rsids(gtex_variants, gtex_lookup_file, verbose = FALSE)
gtex_variants |
a data.frame of gtex variants obtained during "get_gtex_variants" should contain at least one column with the gtex_id as "chr_pos_alt_ref_build" |
gtex_lookup_file |
the lookup file, GTEx to rsids. "GTEx_Analysis_2017-06-05_v8_WholeGenomeSeq_838Indiv_Analysis_Freeze.lookup_table.txt.gz"
Can be obtained using |
verbose |
if true, will print information about the conversion (default: FALSE) |
a vector of rsids (as some gtex ids do not have a corresponding rsid the output can be smalled than the input)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.