SVMREF infinte number of genes
It cannot be done because there is not enough time to create the plot. In about a billion years the sun will be 10% brighter than today and the oceans will start to boil away. You will still be plotting genes when that happens. :-( ------------------------------------- David -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Bert Gunter Sent: Monday, June 17, 2013 2:11 PM To: nofe ganmi Cc: r-help at r-project.org Subject: Re: [R] 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/p db-biostatistics/pdb-ncb-home.htm ______________________________________________ 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.