Hi,

Can anyone tell me how to set Z-score according to my own requirement as
the below code is taking as per the file entries. Any help would
be appreciable.

library(gplots)
x=read.table("final.txt", header=TRUE)
mat=data.matrix(x)
heatmap.2(mat,
col=colorRampPalette(c("green","white","red"))(256),
#col=greenred(75),
Rowv=TRUE,
Colv=FALSE,
distfun = dist,
hclustfun = hclust,
dendrogram = c("row"),
scale = c("column"),
na.rm=TRUE,
trace="none",
sepwidth=c(0.05,0.05),
margins = c(01, 55),
xlab = "", ylab = "",
labRow = NULL,
labCol = NULL,
key=TRUE,
keysize=1,
density.info=c("none"),
)

Thank you in advance

K>S

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to