Description Usage Arguments Value Note Examples
Function for reading exon intron and promoter structure from a given bed file
1 2 3 4 5 6 | readTranscriptFeatures(location,remove.unusual=TRUE,
up.flank=1000,down.flank=1000,unique.prom=TRUE)
## S4 method for signature 'character'
readTranscriptFeatures(location, remove.unusual = TRUE,
up.flank = 1000, down.flank = 1000, unique.prom = TRUE)
|
location |
location of the bed file with 12 or more columns.
The file can end in |
remove.unusual |
remove the chromomesomes with unsual names, mainly random chromsomes etc |
up.flank |
up-stream from TSS to detect promoter boundaries |
down.flank |
down-stream from TSS to detect promoter boundaries |
unique.prom |
get only the unique promoters, promoter boundaries will not have a gene name if you set this option to be TRUE |
a GRangesList
containing locations of exon/intron/promoter/TSS
one bed track per file is only accepted, the bed files with multiple tracks will cause en error
1 2 3 4 5 | my.bed12.file = system.file("extdata/chr21.refseq.hg19.bed", package = "genomation")
my.bed12.file
feats = readTranscriptFeatures(my.bed12.file)
names(feats)
sapply(feats, head)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.