Usage
write.dna(x, file, format = "interleaved", append = FALSE,
nbcol = 6, colsep = " ", colw = 10, indent = NULL,
blocksep = 1)
Arguments
x
a list a DNA sequences each made of a single vector of mode
character where each element is a nucleotide.
file
a file name specified by either a variable of mode character,
or a double-quoted string.
format
a character string specifying the format of the DNA
sequences. Three choices are possible: "interleaved"
,
"sequential"
, or "fasta"
, or any unambiguous
abbreviation of these.
append
a logical, if TRUE
the data are appended to the
file without erasing the data possibly existing in the file,
otherwise the file (if it exists) is overwritten (FALSE
the
default).
nbcol
a numeric specifying the number of columns per row (6 by
default); may be negative implying that the nucleotides are printed
on a single line.
colsep
a character used to separate the columns (a single
space by default).
colw
a numeric specifying the number of nucleotides per column
(10 by default).
indent
a numeric or a character specifying how the blocks of
nucleotides are indented (see details).
blocksep
a numeric specifying the number of lines between the
blocks of nucleotides (this has an effect only if `format =
"interleaved"').