Skip to contents

Find linkage disequilibrium (LD) data for a given variant

GTEx Portal API documentation

Usage

get_linkage_disequilibrium_by_variant_data(
  variantId,
  page = 0,
  itemsPerPage = 250
)

Arguments

variantId

String. A gtex variant ID.

page

Integer (default = 0).

itemsPerPage

Integer (default = 250).

Value

A tibble.

Examples

get_linkage_disequilibrium_by_variant_data("chr1_159245536_C_T_b38")
#> 
#> ── Paging info ─────────────────────────────────────────────────────────────────
#>  numberOfPages = 1
#>  page = 0
#>  maxItemsPerPage = 250
#>  totalNumberOfItems = 241
#> # A tibble: 241 × 3
#>    variantId_1             variantId_2               ld
#>    <chr>                   <chr>                  <dbl>
#>  1 chr1_159163610_GA_G_b38 chr1_159245536_C_T_b38 0.114
#>  2 chr1_159163924_G_A_b38  chr1_159245536_C_T_b38 0.114
#>  3 chr1_159164864_T_C_b38  chr1_159245536_C_T_b38 0.114
#>  4 chr1_159165054_A_G_b38  chr1_159245536_C_T_b38 0.113
#>  5 chr1_159165563_T_C_b38  chr1_159245536_C_T_b38 0.113
#>  6 chr1_159174791_T_C_b38  chr1_159245536_C_T_b38 0.252
#>  7 chr1_159176518_G_T_b38  chr1_159245536_C_T_b38 0.146
#>  8 chr1_159176900_C_A_b38  chr1_159245536_C_T_b38 0.271
#>  9 chr1_159177147_A_T_b38  chr1_159245536_C_T_b38 0.274
#> 10 chr1_159179691_T_C_b38  chr1_159245536_C_T_b38 0.253
#> # ℹ 231 more rows