Dear Sir,
I am facing an error when I am trying to use svm and found similar kind of
problem faced by other. But I unable to solve the problem. The problem is
given below.
rm(list=ls(all=TRUE))
CombinedGeneList <- read.xlsx(file.choose(), sheet = 1, colNames =
NoemalisedData <- read.xlsx(file.choose(), sheet=1,colNames =
status<-NoemalisedData[1, ]
FilterData <-NoemalisedData[rownames(CombinedGeneList), ]
TFilterData <- t(FilterData)
Tstatus <- t(status)
x<-TFilterData
y<-Tstatus
model <- svm( x, y)
Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric
Please solve the problem. I have tried it in many ways.
Waiting for your reply.
Thank you
With regards
Pijush
[[alternative HTML version deleted]]