add a list name into the list content in a new output
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 as below.
Here is the list generated by summary command in Rqtl:
> summary(out.all, threshold=3, format="tabByCol")
chr pos ci.low ci.high lod
c7.loc45 7 47.7 36.71 56.7 6.11
c15.loc8 15 12.0 3.96 22.8 5.29