search for: rat1

Displaying 3 results from an estimated 3 matches for "rat1".

Did you mean: dat1
2004 Sep 24
3
Error with repeat lines() in function
...a time, there is not a problem. If I execute the function, though, I get: Error in ans[[1]] : subscript out of bounds This always occurs after the second lines command, and doesn't happen with all of my data points (some do not have errors). Any ideas? Thanks, Sean function(x,annot,rat1,rat2,rf,...) { par(las=2) wh <- which(annot[,5]==x) xmax <- max(annot[wh,4]) xmin <- min(annot[wh,3]) chr <- annot[wh,2][1] wh.rf <- rf$chrom==as.character(chr) & rf$txStart>xmin & rf$txEnd<xmax par(mfrow=c(2,1)) plot(annot[wh,3...
2011 Jul 08
1
coxme for random effects only model
Dear all, I have encountered the following problem where coxme seems to allow model with only random effect in R 2.11.1 but not in R 2.13.0. Following is the error message using rat example data. Any comment on this is appreciated. In R2.13 > library(coxme) > rat1 <- coxme(Surv(time, status) ~ rx + (1|litter), rats) > rat0 <- coxme(Surv(time, status) ~ (1|litter), rats) Error in coxme.fit(X, Y, strats, offset, init, control, weights = weights, : No starting estimate was successful In R 2.11.1 > library(coxme) > rat1 <- coxme...
2006 Apr 07
2
Dealing with missing values in HeatMap generation
Hi, I want to generate a heatmap for my data (in a matrix). However, the data has some missing values (represented as blank). I get the following errors (with the blanks and with blanks replaced by NA and including the option rm.na = TURE): > filename = "input_heatmap.txt" > g <- as.matrix(filedata) > fg <- rainbow(nrow(g), start=0, end=.3) > gg <-