Learn R Programming

tigger (version 1.1.0)

writeFasta: Write to a fasta file

Description

writeFasta writes a named vector of sequences to a file in fasta format.

Usage

writeFasta(named_sequences, file, width = 60, append = FALSE)

Value

A named vector of strings respresenting Ig alleles.

Arguments

named_sequences

vector of named string representing sequences

file

the name of the output file.

width

the number of characters to be printed per line. if not between 1 and 255, width with be infinite.

append

logical indicating if the output should be appended to file instead of overwriting it

See Also

readIgFasta to do the inverse.

Examples

Run this code
if (FALSE) {
# writeFasta(germlines, "ighv.fasta")
}

Run the code above in your browser using DataLab