Hello
I'm working with DNA microarrays and want to classify them with SVM. I
want to plot the results and it's imposible for me. I found others
tutorials and examples (with iris and cats data) where you can plot the
results with plot.svm, but you need to write a formula and I don't know
how to do this with golubEsets data, for example .
plot ( svm1, golubTrain, formula)
For example, Iris Data:
Sepal.Length Sepal.Width Petal.Length Petal.WidthSpecies
15.1 3.51.4
0.2setosa
24.9 3.01.4
0.2setosa
34.7 3.21.3
0.2setosa
44.6 3.11.5
0.2setosa
55.0 3.61.4
0.2setosa
65.4 3.91.7
0.4setosa
74.6 3.41.4
0.3setosa
85.0 3.41.5
0.2setosa
m2 - svm(Species~., data = iris)
plot(m2, iris, Petal.Width ~ Petal.Length, slice = list(Sepal.Width = 3,
Sepal.Length = 4))
I should be grateful if you would send me information about how to plot
the golubEsets data (for example the formula, because I have tested
several options but neither of them work). My data are very similar
(expression values with several conditions), so I could plot my results
if I knew how to plot golub data.
Thanks a lot
Beatriz
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html