Re: [R] Newbie: Incorrect number of dimensions

2008-03-02 Thread Christophe Lo
This is exactly what i am looking for. many thanks Chris On 3/2/08, Henrique Dallazuanna <[EMAIL PROTECTED]> wrote: > > You have a 'matrix' not a 'list', so > I think you want something like this: > > all_differ[all_differ[, 'BY'] <= 0.01, 'BY'], this will return the > values where column is 'BY

Re: [R] Newbie: Incorrect number of dimensions

2008-03-02 Thread Henrique Dallazuanna
You have a 'matrix' not a 'list', so I think you want something like this: all_differ[all_differ[, 'BY'] <= 0.01, 'BY'], this will return the values where column is 'BY' in all rows which is less or equal to 0.01. On 02/03/2008, Keizer_71 <[EMAIL PROTECTED]> wrote: > > Here is the structure > >

Re: [R] Newbie: Incorrect number of dimensions

2008-03-02 Thread Keizer_71
Here is the structure > str(all_differ) num [1:6280, 1:8] 2.22e-16 2.22e-16 2.22e-16 2.22e-16 2.22e-16 ... - attr(*, "dimnames")=List of 2 ..$ : NULL ..$ : chr [1:8] "rawp" "Bonferroni" "Holm" "Hochberg" ... I tried, but it still giving me the same error message "Incorrect Dimension" prob

Re: [R] Newbie: Incorrect number of dimensions

2008-03-01 Thread jim holtman
It would be helpful if you provided commented, minimal, self-contained, reproducible code. What does str(all_differ) say? That will tell you the structure of the object that you are trying to work with. On Sat, Mar 1, 2008 at 3:35 AM, Keizer_71 <[EMAIL PROTECTED]> wrote: > > > dim(data.sub) > [1

[R] Newbie: Incorrect number of dimensions

2008-03-01 Thread Keizer_71
> dim(data.sub) [1] 1 140 #extracting all differentially express genes## library(multtest) two_side<- (1-pt(abs(data.sub),50))*2 diff<- mt.rawp2adjp(two_side) all_differ<-diff[[1]][37211:1,] all_differ #list of differentially expressed genes## > probe.names<- +