defIgRanges | R Documentation |
Define intergenic genomic regions
defIgRanges(in_gtf, chromgrs, genome = NULL, fchromsize = NULL,
radius = 10000, feat = "exon", chroms = NULL)
in_gtf |
An input GTF file for defining genomic coordinates of existing genes. Required to have 'gene_id' in the attribute column (column 9) |
chromgrs |
A GRanges object defining chromosome sizes. |
genome |
Version of the genome. Will be used when 'chromgrs' is missing. Currently supported ones are:
All the above genomes have sizes for all chromosomes including random and alt ones. Default: NULL |
fchromsize |
Name of a file defining chromosome sizes. Will be used when 'chromgrs' and 'genome' are missing. It can be downloaded from UCSC, e.g. for hg19, http://hgdownload.cse.ucsc.edu/ goldenpath/hg19/database/chromInfo.txt.gz Required to have at least two tab-delimited columns without any header:
Both uncompressed and gzipped files are supported. Default: NULL |
radius |
Region length (bp) of gene's upstream and downstream to be excluded from intergenic region. Default: 10,000 |
feat |
Feature in the GTF file (column 3) to-be-used for defining genic region. Default: exon |
chroms |
A vector of chromosomes names to define intergenic regions. e.g. c('chr10', 'chr11') Default: NULL |
a GRanges object of intergenic regions
fgtf = system.file('extdata/gtf/defIgRanges_in.gtf', package='pram')
defIgRanges(fgtf, genome='hg38')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.