getMouseGenes {diffloop}R Documentation

Get protein coding gene regions

Description

getMouseGenes returns a GRanges object of all protein coding genes genome-wide or within specified chromosomes. Annotation is from regions from mm9 and protein coding genes.

Usage

getMouseGenes(chr)

## S4 method for signature 'missing'
getMouseGenes(chr)

## S4 method for signature 'character'
getMouseGenes(chr)

Arguments

chr

A vector of chromosomes

Details

This function returns a GRanges object with the coordinates and gene IDs of all protein coding genes either genome-wide (by default) orspecified within a particular chromosome.

Value

A GRanges object

Examples

# Grab all protein coding gene locations genome-wide
pc.genes <- getMouseGenes()
# Grab all protein coding gene loctions on chromosome 1
chr1 <- getHumanGenes(c('1'))

[Package diffloop version 1.8.0 Index]