search for: mat2a

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

Did you mean: mat2
2007 Aug 07
2
array
Hello, I have some files generated from microarray experiments. I used scan() to read the files, and assigned each file to a unique name with many rows and columns. Now I want to create a array (ArrayA) with unique names, and I can use ArrayA[1,2][[6]] to refer the data in each file. Is there any packages available for array of array? Thanks! [[alternative HTML version deleted]]
2012 Sep 14
0
problem with user defined panel function in xyplot
...pp1 <- as(mat1, "gpc.poly") ? m <-max( (max(coredata(ts01)) - bl)/3, abs(min(coredata(ts01)) - bl)/3) m1 <- bl+m m2 <- bl+2*m ? ##### cutting the blue poly above the baseline # poly above the baseline s1 <- setdiff(pp1, pp2) y2 <- rep(m1, length(index(ts01))) mat2a <- cbind(c(index(ts01)[1],index(ts01), index(ts01)[length(index(ts01))]), c(bl[[1]], y2, bl[[1]])) pp2a <- as(mat2a, "gpc.poly") ? # poly above baseline between baseline and first horizontal line at m1 sa1 <- intersect(pp2a,s1) ? # remaining polygon - translate polygon down...
2005 Nov 03
4
merging dataframes
Dear List, I often have to merge two or more data frames containing unique row names but with some columns (names) common to the two data frames and some columns not common. This toy example will explain the kind of setup I am talking about: mat1 <- as.data.frame(matrix(rnorm(20), nrow = 5)) mat2 <- as.data.frame(matrix(rnorm(20), nrow = 4)) rownames(mat1) <- paste("site",