Description Usage Arguments Value Author(s) Examples
View source: R/checkAssembledTx.R
plot annotated and assembled transcripts together
1 2 | checkAssembledTx(assembled, annotated, ind = 1,
main = "Assembled and Annotated Transcripts", customCol = NULL)
|
assembled |
a GRangesList object where the GRanges objects in the list represent sets of exons comprising assembled transcripts |
annotated |
a GRangesList object where the GRanges objects in the list represent sets of exons comprising annotated transcripts |
ind |
integer; index of |
main |
optional character string giving the title for the resulting plot. Default: "Assembled and Annotated Transcripts" |
customCol |
optional vector of custom colors for the annotated transcripts. If not the same length as the number of annotated transcripts in the plot, recycling or truncation might occur. |
Plots annotated transcripts on the bottom panel (shaded in gray) and assembled transcripts on the top panel (shaded with diagonal lines).
Alyssa Frazee
1 2 3 4 | gtfPath = system.file('extdata', 'annot.gtf.gz', package='ballgown')
annot = gffReadGR(gtfPath, splitByTranscript=TRUE)
data(bg)
checkAssembledTx(annotated=annot, assembled=structure(bg)$trans, ind=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.