pull_gene_details: Pull gene details for a genomic region

Description Usage Arguments Value Examples

View source: R/pull_gene_details.R

Description

This function subsets the gene index for a genomic region of interest.

Usage

1
pull_gene_details(cnr, coord = "12:69200804:69246466")

Arguments

cnr

a cnr bundle

coord

genomic region in ensembl format

Value

Returns the subset of the 'gene.index' table for the genomic region.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(dplyr)
data(cnr)
coord <- "12:69200804:69246466"

pull_gene_details(cnr, coord = coord)

coords <- c("1:170120554:172941951",
          "12:69200804:69246466")

do.call(rbind, lapply(coords, function(rr)
                     pull_gene_details(cnr, coord = rr)))

SingerLab/gac documentation built on Aug. 14, 2021, 10:57 a.m.