Nofe

1. Read the posting guide.
You have to give us a repreducible example


On 17 June 2013 20:49, nofe ganmi <nghan...@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@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.
>



-- 
Christiaan Pauw
Nova Institute
www.nova.org.za

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to