pull_gene_details: Pull gene details for a set of genes

View source: R/gene_lookups.R

pull_gene_detailsR Documentation

Pull gene details for a set of genes

Description

This function subsets the gene index for a given set of genes

Usage

pull_gene_details(
  cnr,
  genes = c("MDM2", "CDK4"),
  show.columns = NULL,
  identifier = "hgnc.symbol"
)

Arguments

cnr

a cnr bundle

genes

a list of genes

show.columns

columns of gene.index to show

identifier

gene identifier hgnc.symbol or ensembl_gene_id. default hgnc.symbol

Value

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

Examples


data(cnr)

pull_gene_details(cnr)

pull_gene_details(cnr,
  genes = c("JUN", "MDM2", "CDK4"),
  show.columns = c("hgnc.symbol", "bin.id", "gene_biotype"))

pull_gene_details(cnr,
  genes = c("ENSG00000177606", "ENSG00000135446", "ENSG00000135679"),
  identifier = "ensembl_gene_id",
  show.columns = c("hgnc.symbol", "bin.id", "gene_biotype"))



SingerLab/gac documentation built on March 23, 2024, 5:15 a.m.