search for: geneexpression_lab10

Displaying 1 result from an estimated 1 matches for "geneexpression_lab10".

2013 Nov 25
0
Hey guys
Hi, Try: dat1<- t(dat[,-1]) ?colnames(dat1) <- dat[,1] covmat <- cov(dat1) A.K. I'm running into this error and I'm not sure how fix it Error: is.numeric(x) || is.logical(x) is not TRUE This is my data frame geneExpression_Lab10.txt This is the homework instructions in case you want to see Lab10.pdf This is my code dat <-read.delim("~/Dropbox/Homework/R Studio/geneExpression_Lab10.txt", header=F) dat <- as.matrix(dat) dat <- t(as.matrix(dat)) covmat <-cov(dat) #Error: is.numeric(x) || is.logica...