[R] SVMREF infinte number of genes
gunter.berton at gene.com
Mon Jun 17 21:11:10 CEST 2013
I think proving whether P = NP would be easier than plotting an
infinite number of genes..
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:
> #load database
> db <-
> 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
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Genentech Nonclinical Biostatistics
Internal Contact Info:
More information about the R-help