forked from benjjneb/dada2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwriteFasta.Rd
30 lines (26 loc) · 954 Bytes
/
writeFasta.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sequenceIO.R
\name{writeFasta,character-method}
\alias{writeFasta,character-method}
\title{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{
\S4method{writeFasta}{character}(object, file, mode = "w", width = 20000L, ...)
}
\arguments{
\item{object}{(Required). A named \code{character} vector.}
\item{file}{(Required). The output file.}
\item{mode}{(Optional). Default "w". Append with "a".}
\item{width}{(Optional). Default 20000L. Maximum line length before newline.}
\item{...}{(Optional). Additonal arguments passed to \code{\link[Biostrings]{writeXStringSet}}.}
}
\value{
NULL.
}
\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.
}
\seealso{
\code{\link[Biostrings]{writeXStringSet}}
}