load_gene_locations: Load gene coordinates from Ensembl biomart or Cached data

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

load_gene_locations Load gene coordinates from Ensembl biomart or Cached data

Usage

1
2
load_gene_locations(genes = NULL, cache = TRUE, path = "",
  organism = "mmusculus_gene_ensembl", name = "mouse")

Arguments

genes

character vector; Vector of gene names to look up genomic coordinates for

cache

logical; If TRUE a cache of the downloaded locations will be saved for quick loading next time

path

character; string of path where the cached location file should be saved

organism

character; which dataset from Ensembl should be used, e.g. "mmusculus_gene_ensembl" or "hsapiens_gene_ensembl"

name

character; descriptive name of dataset, this will be appended to the standard cache file name when saving / loading the cache

Value

A data table of genes chromosome and coordinate.

Examples

1
2

marchinilab/SDAtools documentation built on Jan. 31, 2020, 3:51 a.m.