gene2bed: Create a BED file containing the coding regions of genes

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Gene2Bed_funcs.R

Description

Create a BED file of coding exons for a user-specified set of genes. Padding can be added#'

Usage

1
gene2bed(genes, geneFile, prefix, outDir, pad = 0, rmChrM = TRUE)

Arguments

genes

List of genes for which coding exons should be output coding exons.

prefix

Prefix for output files (optional)

outDir

Output directory (optional)

pad

Amount of padding up and downstream of coding exon (in bp) (default = 0)

rmChrM

Indicates if mitochondrial genes should be output (TRUE/FALSE) (default is TRUE)

genefile

A file that contains one gene per line

Value

Null

Author(s)

Andrew Skol, askol@luriechildrens.org

See Also

bed2gene

Examples

1
gene2bed(c("TP53","HNF4A"), prefix="MyGenes", pad=10, rmChrM=TRUE)

askol-lurie/Bed2GeneRPackage documentation built on Dec. 31, 2020, 7:52 p.m.