[R] Printing row and column names of cells with specific value in a big matrix

2015-07-20 Thread gaurav kandoi
Hi All I've two big matrices (5k*4k) with the same structure, i.e. : mRNA1 mRNA2 mRNA3 lncRNA1 0.395646 0.94995 0.76177 lncRNA2 0.03791 0.661258 0.558658 lncRNA3 0.67846 0.652364 0.359054 lncRNA4 0.57769 0.003 0.459127 Now, I would like to extract the names of the row,col pairs whose value

Re: [R] Printing row and column names of cells with specific value in a big matrix

2015-07-20 Thread Sarah Goslee
Without a reproducible example, or at least a non-mangled one (please don't post in HTML), I'm not inclined to try it, but why not use sig_values to index row.names() and col.names() if you're after the names? Sarah On Mon, Jul 20, 2015 at 1:44 PM, gaurav kandoi kandoigau...@gmail.com wrote: Hi

Re: [R] Printing row and column names of cells with specific value in a big matrix

2015-07-20 Thread gaurav kandoi
Hi Sarah, sorry for posting in HTML. I've two big matrices (5k*4k) with the same structure, i.e. : ,mRNA1,mRNA2,mRNA3 lncRNA1,0.395646498,0.949950035,0.761770206 lncRNA2,0.037909944,0.661258022,0.558657799 lncRNA3,0.678459646,0.652364052,0.359053653 Now, I would like to extract the names of the

Re: [R] Printing row and column names of cells with specific value in a big matrix

2015-07-20 Thread Sarah Goslee
Subsetting error. See below. On Mon, Jul 20, 2015 at 3:29 PM, gaurav kandoi kandoigau...@gmail.com wrote: Hi Sarah, sorry for posting in HTML. I've two big matrices (5k*4k) with the same structure, i.e. : ,mRNA1,mRNA2,mRNA3 lncRNA1,0.395646498,0.949950035,0.761770206

Re: [R] Printing row and column names of cells with specific value in a big matrix

2015-07-20 Thread gaurav kandoi
Thanks a lot Sarah. I think I've got what I wanted. On Mon, Jul 20, 2015 at 2:55 PM, Sarah Goslee sarah.gos...@gmail.com wrote: Subsetting error. See below. On Mon, Jul 20, 2015 at 3:29 PM, gaurav kandoi kandoigau...@gmail.com wrote: Hi Sarah, sorry for posting in HTML. I've two big