Description Usage Arguments Value Examples
Export Merge Table for Transcriptome
1 | exportMergeTable(txdb, file, minDistance = 200L)
|
txdb |
a |
file |
a string or |
minDistance |
the minimum separation to regard overlapping transcripts as unique. |
The txdb
argument is invisibly returned.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | library(TxDb.Scerevisiae.UCSC.sacCer3.sgdGene)
## load annotation
txdb <- TxDb.Scerevisiae.UCSC.sacCer3.sgdGene
## restrict to 'chrI' transcripts (makes for briefer example runtime)
seqlevels(txdb) <- c("chrI")
## last 500 nts per tx
txdb_w500 <- truncateTxome(txdb)
## export plain format
outfile <- tempfile("sacCer3.sgdGene.w500", fileext=".tsv")
exportMergeTable(txdb_w500, outfile)
## export compressed format
outfile <- tempfile("sacCer3.sgdGene.w500", fileext=".tsv.gz")
exportMergeTable(txdb_w500, outfile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.