[R] Subscript out of bound error

2013-07-05 Thread Chirag Gupta
character and DF and tried all possible ways I found on the web. The problem is that some of them work on a smaller simulated dataset but says "Subscript out of bounds" when I try on the bigger matrix(m). Please help.. :( Thanks! -- *Chirag Gupta* Department of Crop, Soil, and Env

[R] Check a list of genes for a specific GO term

2013-07-06 Thread Chirag Gupta
Hello everyone I have a dataframe with rows as probeset ID and columns as samples I want to check the rownames and find which are those probes are transcription factors. (GO:0006355 ) Any suggestions? Thanks! -- *Chirag Gupta* Department of Crop, Soil, and Environmental Sciences, 115 Plant

Re: [R] Check a list of genes for a specific GO term

2013-07-07 Thread Chirag Gupta
put of this in a post > > > > > > If you want to get the rownames matching a certain pattern, maybe > > something like the following. > > > > > > idx <- grep("GO:0006355", rownames(dat)) > > dat[idx, ] > > > > > > H

[R] Upgrade from R 2.11 to R 3.0.1

2013-07-12 Thread Chirag Gupta
try and re-install the newer version and try. Thanks. -- *Chirag Gupta* Department of Crop, Soil, and Environmental Sciences, 115 Plant Sciences Building, Fayetteville, Arkansas 72701 [[alternative HTML version deleted]] __ R-help@r

[R] Deleting specific rows from a dataframe

2013-07-15 Thread Chirag Gupta
rge (about 20,000 rows), I cannot do it in excel Any special function that i can use? -- *Chirag Gupta* [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] Extract specific rows from a data frame

2013-07-20 Thread Chirag Gupta
but not PP in rest of the columns. -- *Chirag Gupta* [[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-guid

[R] reshape non-square matrix

2014-02-28 Thread Chirag Gupta
Hi list I have a matrix of size m x n (m and n are different, hence non square!) I want to melt it in such a way that I get a df of 3 columns. m ,n and cell value in the original matrix. Any suggestions? -- *Chirag Gupta* Department of Crop, Soil, and Environmental Sciences, 115 Plant Sciences

Re: [R] reshape non-square matrix

2014-03-04 Thread Chirag Gupta
e")) > A.K. > > > On Friday, February 28, 2014 11:40 PM, Chirag Gupta > wrote: > Hi list > > I have a matrix of size m x n (m and n are different, hence non square!) > I want to melt it in such a way that I get a df of 3 columns. m ,n and cell > value in the orig

Re: [R] reshape non-square matrix

2014-03-04 Thread Chirag Gupta
- > Sent from my phone. Please excuse my brevity. > > On February 28, 2014 5:49:26 PM PST, Chirag Gupta > wrote: > >Hi list > > > >I have a matrix of size m x n (m and n are different, hence non > >square!) > >I wa