Displaying 2 results from an estimated 2 matches for "dna_seg_scale".
2012 Oct 21
1
Navigating a grid.
...make multiple plots in columns and rows?
Thanks
Mike
plotpush <- function(x,n,letter,row,column) {
pushViewport
(viewport
(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
=
1.4
,dna_seg_line
=F,plot_new=FALSE,scale=F,arrow_head_length=1,annotation_cex=1.4,
main=toupper(letters[n]),main_pos="left"
)
popViewport(0)
}
pushViewport(viewport(layout = grid.layout(nrow=26,ncol=2)))
sapply(repeat...
2012 Oct 22
0
Help with a R script using grid
...d 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
=
1.4
,dna_seg_line
=F,plot_new=FALSE,scale=F,arrow_head_length=1,annotation_cex=1.4,
main=toupper(letters[n]),main_pos="left"
)
}
gl <- grid.layout(nrow=26,ncol=2)
pushViewport(viewport(layout = gl)
segs <- c(segs.cys....