Hi Margaux,
Check the row.names and col.names arguments of write.table.
See ?write.table
write.table (dat, file = "/path/to/my/data.txt", sep = " ",
col.names=FALSE, row.names=FALSE)
HTH,
Ivan
Le 8/1/2011 17:18, Margaux Keller a écrit :
Hi,
I'm trying to create an abbreviated data file fr
Hi,
I'm trying to create an abbreviated data file from a larger version. I can
use the subset command to create a value for this data:
dat <-subset(raw.data, select=c(SNP, Pvalue))
> head (dat)
SNP Pvalue
1 rs11 0.6516
2 rs12 0.3311
3 rs13 0.5615
but when I try to write.table using:
w
2 matches
Mail list logo