[Bioc-devel] plots and triangle view

Kasper Daniel Hansen kasperdanielhansen at gmail.com
Mon Dec 3 15:06:41 CET 2012


If you want to do this, you need to use grid.

The question is whether it is worth your time, if you're not already
experienced with grid.  Murrell's book is a good place to start (or
the vignettes in grid).

Kasper

On Mon, Dec 3, 2012 at 4:47 AM, Servant Nicolas
<Nicolas.Servant at curie.fr> wrote:
> Hi all,
>
> I have 4 matrices that I would like to plot together (as heatmaps)
> One way to easily do that is to design a layout (or a grid) and to plot them in each (i,j) cells.
>
> 11111222
> 11111222
> 11111222
> 11111222
> 11111222
> 33333444
> 33333444
> 33333444
>
> But now, I just want to take the same representation, rotate it and only look at the top diagonal data, like this :
>
>        2
>      222
>     1222
>    11222
>   111224
>  1111244
> 11111444
>
> For a single matrix, I succeed in plotting this triangle in a cell of a layout, but I failed in plotting all the matrices (i.e., 1, 2, 4) just because I cannot design a grid on this representation.
> And to complicate a little bit the problem, I don't want to create a big matrix that combines all matrices, because there are quite big (>3000x3000 each)
> I don't know if someone already try to assess this type of issue, or can give some advices about which graphical functions to use (grid, graphics, lattice, ...)
> Tank you !
> Nicolas
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel



More information about the Bioc-devel mailing list