Description Usage Arguments Value Author(s) Examples
This function uses the "reduce"
function of
IRanges to construct virtual unique exons for each
gene, so as to avoid inflating the read counts for
each gene because of multiple possible transcripts.
If the user wants transcripts instead of genes, they
should be supplied to the original annotation table.
1 | reduce.exons(gr, multic = FALSE)
|
gr |
a GRanges object created from the supplied
annotation (see also the |
multic |
a logical value indicating the presence
of multiple cores. Defaults to |
A GRanges object with virtual merged exons for each gene/transcript.
Panagiotis Moulos
1 2 3 4 5 6 7 8 9 | require(GenomicRanges)
multic <- check.parallel(0.8)
ann <- get.annotation("mm9","exon")
gr <- makeGRangesFromDataFrame(
df=ann,
keep.extra.columns=TRUE,
seqnames.field="chromosome"
)
re <- reduce.exons(gr,multic=multic)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.