search for: normdat

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

Did you mean: normdata
2006 Apr 27
0
pamr package: pamr.adaptthresh() error rates
...(graphics) library(pamr) library(bootstrap) rm(list = ls()) gc() makeColon <- function(){ # This dataset has 24 cancer, and 9 normal samples n2 <- read.table("data/Colon.data",header = FALSE,sep = ",") cancdat <- n2[,n2[1,]== 'tumor'] normdat <- n2[,n2[1,]== 'normal'] cancdat <- cancdat[-1,] normdat <- normdat[-1,] mat <- as.matrix(cbind(cancdat,normdat)) actclass <- rep(c(1, 2), c(ncol(cancdat), ncol(normdat))) return(list(mat,actclass)) } m <- makeColon() mat <- m[[1]] actclas...
2006 Apr 27
0
package pamr: pamr.adaptthresh() error rates
...library(graphics) library(pamr) rm(list = ls()) gc() makeColon <- function(){ # This dataset has 24 cancer, and 9 normal samples n2 <- read.table("data/Colon.data",header = FALSE,sep = ",") cancdat <- n2[,n2[1,]== 'tumor'] normdat <- n2[,n2[1,]== 'normal'] cancdat <- cancdat[-1,] normdat <- normdat[-1,] mat <- as.matrix(cbind(cancdat,normdat)) actclass <- rep(c(1, 2), c(ncol(cancdat), ncol(normdat))) return(list(mat,actclass)) } m <- makeColon() mat <- m[[1]...
2006 Apr 27
0
package pamr: pamr.adapthresh() ---- Take 2!
...(graphics) library(pamr) library(bootstrap) rm(list = ls()) gc() makeColon <- function(){ # This dataset has 24 cancer, and 9 normal samples n2 <- read.table("data/Colon.data",header = FALSE,sep = ",") cancdat <- n2[,n2[1,]== 'tumor'] normdat <- n2[,n2[1,]== 'normal'] cancdat <- cancdat[-1,] normdat <- normdat[-1,] mat <- as.matrix(cbind(cancdat,normdat)) actclass <- rep(c(1, 2), c(ncol(cancdat), ncol(normdat))) return(list(mat,actclass)) } m <- makeColon() mat <- m[[1]] actclas...