Entering edit mode
10.6 years ago
lkarki2000
•
0
I tried to run "globaltest" in my data set. I have expression data with 9 columns (1 column for gene symbols, 4 controls and 4 treatments). I tried to run globaltest with the following code and got following error:
library(globaltest)
data<-read.csv("C:/Users/Desktop/mouse.csv",header=T)
classes <- as.factor(c(rep("CONTROL", times=4), rep("TREATMENT", times=4)))
gt <- gt(classes, data)
Error in .getAlternative(alternative, data, n) :
argument "alternative" could not be coerced into a matrix
Laxman