SVMREF infinte number of genes
I think proving whether P = NP would be easier than plotting an infinite number of genes.. ;-) -- Bert
On Mon, Jun 17, 2013 at 11:49 AM, nofe ganmi <nghanimi at gmail.com> wrote:
dear all,
I am a student in cs college. I would like to know how to plot infinte
number of genes after using the svm.
the data set i have consists of
x which is a matrix of 39 cancer patients [rows] and 2000 gene names
[colmns]. each cell is the value of the gene for a particular patient.
there are two types of cancer people representedas factor y.
here is the code:
library(e1071)
#load database
db <-
read.csv(file="databases\\colon-cancer\\colon-cancer.csv",head=FALSE,sep=",")
x = as.matrix(db[,1:(ncol(db)-1)])
y = as.factor(db[,ncol(db)])
svmModel = svm(x, y, cost = 10, cachesize=500, scale=F,
type="C-classification", kernel="linear" )
Now how to plot this infinte number of genes after classification using
SVM???
thanks
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm