Skip to contents

Find all neighboring genes on a certain chromosome around a position with a certain window size.

GTEx API Portal documentation

Usage

get_neighbor_gene(pos, chromosome, bp_window, page = 0, itemsPerPage = 250)

Arguments

pos

Integer, vector.

chromosome

String. One of "chr1", "chr2", "chr3", "chr4", "chr5", "chr6", "chr7", "chr8", "chr9", "chr10", "chr11", "chr12", "chr13", "chr14", "chr15", "chr16", "chr17", "chr18", "chr19", "chr20", "chr21", "chr22", "chrM", "chrX", "chrY".

bp_window

Integer.

page

Integer (default = 0).

itemsPerPage

Integer (default = 250).

Value

A tibble.

See also

Examples

if (FALSE) { # \dontrun{
get_neighbor_gene(pos = 1000000, chromosome = "chr1", bp_window = 10000)
} # }