plotSpliceGraph(x, geneID = NULL, geneName = NULL, eventID = NULL, which = NULL, toscale = c("exon", "none", "gene"), label = c("id", "name", "label", "none"), color = "grey", color_novel = "red", color_alpha = 0.8, color_labels = FALSE, border = "fill", cexLab = 1, cexExon = 1, score = NULL, score_color = "darkblue", score_ylim = NULL, score_ypos = c(0.2, 0.1), score_nbin = 400, main = NULL, cexMain = 1, tx_view = FALSE, tx_dist = 0.2, tx_cex = 1, asp = 1)
SGFeatures
or TxVariants
objectx
x
x
GRanges
used to subset x
NULL
.color_novel
. Ignored if features
elementMetadata column color is not NULL
.RLeList
containing nucleotide-level scores to be
plotted with the splice graphdata.frame
with plotting information for exons and
splice junctions in the splice graph
color
, color_novel
) and labels are
generated automatically (see argument label
).Alternatively, colors and labels can be specified via elementMetadata columns color and label, respectively.
## Not run:
# sgf_annotated <- annotate(sgf, txf)
# plotSpliceGraph(sgf_annotated)
# ## End(Not run)
## Not run:
# txv_annotated <- annotate(txv, txf)
# plotSpliceGraph(txv_annotated)
# ## End(Not run)
Run the code above in your browser using DataLab