un detalle:
al definir heatmap.3 <- edit(heatmap.2)
se pierde los comentarios en el codigo de heatmap.2.

Es mejor copiar de codigo fuente directamente.

kjetil

2009/5/18 Jorge Ivan Velez <jorgeivanvelez@gmail.com>

> Buenos dias Pablo y Olivier,
> Muchas gracias por sus sugerencias. Definir una nueva función, e.g.
> heatmap.X, eliminando las lineas apropiadas, es una solución bastante
> simple.
>
> Saludos,
>
> Jorge Ivan Velez
>
>
> >> > Hola a todos,
> >> >
> >> > Estoy trabajando con la función heatmap.2() de la libreria ggplots. A
> >> > continuación encontrarán un ejemplo de la estructura de mis datos y el
> >> > código para generar el gráfico que me gustaría modificar:
> >> >
> >> > # Datos
> >> > set.seed(123)
> >> > x <- matrix(rnorm(8*30), ncol = 8)
> >> > rownames(x) <- paste('GM10A',1:30,sep="")
> >> > colnames(x) <- paste('Muestra_',1:8,sep="")
> >> >
> >> > # Mapa
> >> > require(gplots)
> >> > heatmap.2(x, key=TRUE, symkey=TRUE, keysize = 0.9, col=
> >> > rev(heat.colors(30)),
> >> >               density.info="none", trace="none",
> >> >                 cexCol=1, cexRow=.7, xlab='Muestra')
> >> >
> >> > Cómo podrán ver, en la parte superior izquierda hay un recuadro con
> los
> >> > textos "Color Key" y "Value". Alguien sabe cómo eliminarlos?
> >>
> >>
> >>
>
>         [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-help-es mailing list
> R-help-es@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>
>


-- 
"Mathematics is not the rigid and rigidity-producing schema that the layman
thinks it is; rather, in it we find ourselves at that meeting point of
constraint and freedom that is the very essence of human nature."
                                    - Hermann Weyl

	[[alternative HTML version deleted]]

