Displaying 5 results from an estimated 5 matches for "yy1".
Did you mean:
y1
2008 Feb 12
2
shaded area graph and extra plot
...1994:2007 and
second 1996:2007)
the corresponding x's do not match.
How can this be sorted out?
Thanks in advance
#############################################
plot.new()
plot.window(xlim=c(1993,2008), xaxs="i", ylim=c(0,400), yaxs="i")
x=1994:2007
xx = c(1994, x, 2007)
yy1 = c(0, indexSp[,"Xhat5Sp"]+indexSp[,"seA"], 0 )
yy2 = c(0, indexSp[,"Xhat5Sp"]-indexSp[,"seA"], 0 )
polygon(xx, yy1, col="grey", lty=0)
polygon(xx, yy2, col="white", lty=0)
lines(x, indexSp[,"Xhat5Sp"], type="l")
axis...
1999 Feb 16
1
Missing tick marks bug on alpha solved
...e:
> plot(0:1,axes=FALSE)
> axis(1,1:2)
The problem is in X11_Line(...) from .../src/unix/devX11.c, which is
so short I've included the whole function below:
static void X11_Line(double x1, double y1, double x2, double y2,
int coords, DevDesc *dd)
{
double xx1, yy1, xx2, yy2; <----------- should be int!
x11Desc *xd = (x11Desc *) dd->deviceSpecific;
/* In-place conversion ok */
GConvert(&x1, &y1, coords, DEVICE, dd);
GConvert(&x2, &y2, coords, DEVICE, dd);
xx1 = (int) x1;
yy1 = (int) y1;
xx2 = (i...
2009 Jun 20
1
string splitting and testing for enrichment
Hi List
I have data in the following form:
Gene TFBS
NUDC PPARA(1) HNF4(20) HNF4(96) AHRARNT(104) CACBINDINGPROTEIN(149) T3R(167) HLF(191)
RPA2 STAT4(57) HEB(251)
TAF12 PAX3(53) YY1(92) BRCA(99) GLI(101)
EIF3I NERF(10) P300(10)
TRAPPC3 HIC1(3) PAX5(17) PAX5(110) NRF1(119) HIC1(122)
TRAPPC3 EGR(26) ZNF219(27) SP3(32) EGR(32) NFKAPPAB65(89) NFKAPPAB(89) RFX(121) ZTA(168)
NDUFS5 WHN(14) ATF(57) EGR3(59) PAX5(99) SF1(108) NRSE(146)
TIE1 NRSE(129)
I would...
2009 Jan 22
1
Problem with cex=0.1 when making jpegs
I am using the following script to make .jpg files.
jpeg('plotx.jpg')
ddat <-read.table("file",header=T)
attach(ddat)
tdat<-read.table("file1")
plot(xx1,yy1,type='p',pch=1,col="blue",cex=0.2,xlim=c(0,3.5),ylim=c(-75,75))
points(tdat,col="green",pch=1,cex=0.2)
dev.off()
The problem is that I want the points to be very small; however, if I make
cex any smaller than 0.2 the plot in the .jpg file is blank. If I run the
command...
2010 Dec 09
4
Sequence generation in a table
Dear R helpers
I have following input
f = c(257, 520, 110). I need to generate a decreasing sequence (decreasing by 100) which will give me an input (in a tabular form) like
257, 157, 57
520, 420, 320, 220, 120, 20
110, 10
I tried the following R code
f = c(257, 520, 110)
yy = matrix(data = NA, nrow = 3, ncol = 6)
for (i in 1:3)
{
value = NULL
for (j in 1 : 6)
{