writeFasta: Writes a named character vector of DNA sequences to a fasta...

Description Usage Arguments Value See Also

Description

Writes a named character vector of DNA sequences to a fasta file. Values are the sequences, and names are used for the id lines.

Usage

1
2
## S4 method for signature 'character'
writeFasta(object, file, mode = "w", width = 20000L, ...)

Arguments

object

(Required). A named character vector.

file

(Required). The output file.

mode

(Optional). Default "w". Append with "a".

width

(Optional). Default 20000L. Maximum line length before newline.

...

(Optional). Additonal arguments passed to writeXStringSet.

Value

NULL.

See Also

writeXStringSet


dada2 documentation built on Nov. 8, 2020, 6:48 p.m.