[R] ggplot2 and the legend

2012-11-22 Thread Peter Kupfer
Dear all, i try to plot with ggplot2. Therefor I have an matrix with 3 colums. With cbind I add an additional column called "col". I need this column "col" because in a later step and want to specify here some plot details which I will get from another analysis If I want to plot with this code,

[R] Lattice and a color problem

2012-11-21 Thread Peter Kupfer
Dear all, i have the attached data called "new" as data.frame. First I have only three columns called Var1, Var2 and Freq and with bind I attached the column test for a color specification (TEST DATA below). With this plot function (require packages lattice) dotplot(reorder(Var1, rep(scor

Re: [R] Classification methods - which one?

2012-11-19 Thread Peter Kupfer
ed to do this analysis, stick to linear methods > (regularized LDA, nearest shrunken centroids, etc) that are less > likely to over-fit and bias yourself towards those that have embedded > feature selection. > > Max > > > On Mon, Nov 19, 2012 at 10:16 AM, Peter Kupfer wrote: &

[R] Classification methods - which one?

2012-11-19 Thread Peter Kupfer
Dear all, i searched for some classification methods and I have no glue if i took the right once. My problem: I have a matrix with 17000 rows and 33 colums (genes and patients). The patients are grouped into 3 diseases. No I want to classify the patients and for sure i want to know which rows are

Re: [R] Deleting rows with special character

2012-11-16 Thread Peter Kupfer
Sarah Goslee : > Hi Peter, > > On Fri, Nov 16, 2012 at 9:04 AM, Peter Kupfer wrote: >> Dear all, >> maybe a simple problem but I found no solution for my problem. >> I have a matrix Y with 23 000 rows and 220 colums. The entries are "A", "B" >

[R] Deleting rows with special character

2012-11-16 Thread Peter Kupfer
Dear all, maybe a simple problem but I found no solution for my problem. I have a matrix Y with 23 000 rows and 220 colums. The entries are "A", "B" or "C". I want to extract all rows (as a matrix ) of the matrix Y where all entries of a row are (for example) "A". Is there any solution? I tried t

[R] SVM? Comparison method wanted: 3 Groups, Microarray data

2012-11-15 Thread Peter Kupfer
genes, which explain a classification for each sample to one of the groups. Are there packages/method you can suggest? I guess PAMR works not so good for all genes on the chip, right? Would be amazing if you can tell me your opinion. All the best and thanks Peter from the desk of peter k