Entering edit mode
Hui-Yi Chu
▴
160
@hui-yi-chu-2954
Last seen 10.2 years ago
Dear list,
I updated R from 2.6.2 to 2.7.2 recently but keep getting the error
"figure
margins too large" when plot pictures which never happened to me when
using
2.6.2. Also, the legend disappears in R 2.7.2. After asking R mailing
list,
they think it's something specifically changed in image() of affy
package,
especially add.legend argument. But I dont know how to fix it or
change the
settings. Any suggestions are really appreciated!!!
------------------------------
library("affyPLM")
aaa.qc <- fitPLM(aaa, background=T, normalize=T) ## rma-
normalized
data
image(aaa.qc, which = 1, type = "resids",
col = pseudoPalette(low = "darkgreen",high = "red", mid =
"white"),
add.legend = TRUE)
------------------------------
ps. aaa is an affybatch of raw data
I tried to add par(mar=c(2,2,2,2)) before the image line above to see
if
anything changed, but I still cannot see the legend which is visible
in
R2.6.2.
For more info, following is my two sessions of R.
*1.*
R version 2.6.2 (2008-02-08)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
*2.*
R version 2.7.2 (2008-08-25)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
Thank you in advance!!
Regards,
Hui-Yi
[[alternative HTML version deleted]]