AnnotationTrack
or GeneRegionTrack
objects from the
Gviz
package and produces the corresponding plot. The
genome
argument controls whether additional ideogram and
axis tracks are to be plotted. plotAsAnnotationTrack
plots
peptides that span multiple exons in red and connects them with a
grey line. See pmapToGenome
for example code.
plotAsAnnotationTrack(x, ..., genome = "hg38", plot = TRUE)
plotAsGeneRegionTrack(..., genome = "hg38", plot = TRUE)
Granges
object containing peptides genomics
coordinates, typically generated by
pmapToGenome
. These ranges are converted to a
AnnotationTrack
.GRanges
instances, typically
resulting from calling etrid2grl
, or, a single
GRangesList
. These ranges are converted to
GeneRegionTrack
instances.character
of length 1, giving the name of
the genome. Default is "hg38"
. If NULL
, no
chromosome and axis tracks are displayed.logical
defining if the figure should be
plotted. Default is TRUE
.