Re: [R] add a list name into the list content in a new output

2015-01-20 Thread Jim Lemon
.low ci.high lod >> bp c7.loc45 7 47.7 36.7156.7 6.11 >> bp c15.loc8 15 12.0 3.9622.8 5.29 >> hr c2.loc542 59.8 14.887.8 4.19 >> hr D15MIT184 15 22.8 12.036.0 3.15 >> bw c15.loc16 15 20 11 30 6.75 >> heart_wt c12.

Re: [R] add a list name into the list content in a new output

2015-01-20 Thread Chel Hee Lee
eart_wt c12.loc49 12 51.2 28.262.2 3.65 How to add command to your script to scape those colnames? Thanks again, Joshua - Original Message - From: "Chel Hee Lee" To: "Shuhua Zhan" , "r-help" Sent: Monday, January 19, 2015 10:44:23 PM Subject: Re: [R]

Re: [R] add a list name into the list content in a new output

2015-01-19 Thread Chel Hee Lee
I am just using the first two components of your output. > op $bp chr pos ci.low ci.high lod c7.loc45 7 47.7 36.7156.7 6.11 c15.loc8 15 12.0 3.9622.8 5.29 $hr chr pos ci.low ci.high lod c2.loc542 59.8 14.887.8 4.19 D15MIT184 15 22.8 12.036.0

[R] add a list name into the list content in a new output

2015-01-19 Thread Shuhua Zhan
Dear All, I'd like to add a list name into the list contents to make a new output. The list is a list of data.frame derived from summary command in Rqtl. I want to add this list name to the data frame with a given column name such as "trait" and output this entire list as a table tab delimited a