Description Usage Arguments Value Examples
Truncate Transcriptome
1 2 3 4 | truncateTxome(txdb, maxTxLength = 500, ...)
## S4 method for signature 'TxDb'
truncateTxome(txdb, maxTxLength = 500, BPPARAM = bpparam())
|
txdb |
a |
maxTxLength |
the maximum length of transcripts |
... |
additional arguments |
BPPARAM |
A BiocParallelParam object specifying whether and how the method should be parallelized. |
a TxDb
object
a TxDb
object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | library(TxDb.Scerevisiae.UCSC.sacCer3.sgdGene)
## load annotation
txdb <- TxDb.Scerevisiae.UCSC.sacCer3.sgdGene
## restrict to 'chrI' transcripts
seqlevels(txdb) <- c("chrI")
## last 500 nts per tx
txdb_w500 <- truncateTxome(txdb)
txdb_w500
## last 100 nts per tx
txdb_w100 <- truncateTxome(txdb, maxTxLength=100)
txdb_w100
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.