select_gtex_tissues | R Documentation |
Use list_gtex_tissues
to get the list of GTEx files
and their associated keywords. Grep the user's query against the list of
keywords (case is ignored) to return all the corresponding tissue files.
eg: "adipose" will return the files corresponding to "Adipose_Subcutaneous" AND
"Adipose_Visceral_Omentum". The tissues in the query are grepped one after the
other.
If one of the keywords does not correspond to any tissues, stop
is called and an error message is displayed.
select_gtex_tissues(gtex_dir, tissues_query = "")
gtex_dir |
is the directory contaning the files from "GTEx_Analysis_v8_eQTL.tar.gz" (cf: https://gtexportal.org/home/datasets) |
tissues_query |
is a vector of keywords to select the tissues of interest (eg: "adipose", "brain", "Heart_Left_Ventricle"). NOT case sensitive. (default: "", return everything) |
the list of files corresponding to the tissues of interest
vargen_install(install_dir = "./vargen_data/")
select_gtex_tissues("./vargen_data/GTEx_Analysis_v8_eQTL/",
c("adipose", "Heart_Left_Ventricle", "leg"))
select_gtex_tissues("./vargen_data/GTEx_Analysis_v8_eQTL/",
"brain")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.