Displaying 2 results from an estimated 2 matches for "plotpush".
2012 Oct 21
1
Navigating a grid.
...eetings
I am trying to make a multiple panel plot from a tool (genoPlotR) that
is layered on grid. My code and session info are below. When I execute
the code, I get a single plot in the center of the graphics page. I
have tried various pop/push/down/seekViewport commands at the end of
the plotpush method. There must be something I'm missing in the
documentation, I believe what I have should work. I haven't been able
to find a similar scenario in the help archives.
Could I get someone to critique my code and help me figure out how to
make multiple plots in columns and rows?
Th...
2012 Oct 22
0
Help with a R script using grid
...produces a graphic with all the plots overlaid on the
left middle side of the graphics window. And I get the following
warnings repeated 50 times:
> warnings()
Warning messages:
1: In while (!rootVP(pvp)) { ... :
the condition has length > 1 and only the first element will be used
plotpush <- function(x,n,letter,row,column,layout) {
pushViewport
(viewport
(layout
=gl,layout.pos.row=row,layout.pos.col=column,name=as.character(n)))
plot_gene_map
(dna_segs=list(x[["seg"]]),annotations=x[["annot"]],dna_seg_scale=T,
scale_cex...