You can use append=TRUE
in write.table
calls and use the same file name, but you'll need to specify all the other arguments as needed. append=TRUE
is not available for the wrapper function write.csv
, as noted in the documentation:
These wrappers are deliberately inflexible: they are designed to ensure that the correct conventions are used to write a valid file. Attempts to change append, col.names, sep, dec or qmethod are ignored, with a warning.
Or you could write out
write.csv(data.frame(entropy=seqient(sequences.seq),
complexity=seqici(sequences.seq),
turbulence=seqST(sequences.seq)),
'output.csv')