find_genes: finds genes within one chromosome interval

View source: R/gene_lookups.R

find_genesR Documentation

finds genes within one chromosome interval

Description

finds genes within one chromosome interval

Usage

find_genes(cnr, at, show.columns = NULL, identifier = "hgnc.symbol")

Arguments

cnr

a cnr bundle

at

character, coordinate string

show.columns

subset of columns from gene.index to output. default is NULL, which shows all columns

identifier

name of column with gene identifiers

Value

Returns the subset of the gene.index within the coordinates specified. By default all columns are returned, with the option to select a subset using show.columns.

Examples


data(cnr)

find_genes(cnr, at = "12:58,000,000-59,000,000")

find_genes(cnr, at = "12:58,000,000-59,000,000",
           show.columns = c("hgnc.symbol", "gene_biotype"))



SingerLab/gac documentation built on Oct. 14, 2022, 4:09 a.m.