SangerRead-class-writeFastaSR: writeFastaSR

Description Usage Arguments Value Examples

Description

A SangerRead method which writes the sequence into Fasta files.

Usage

1
2
3
## S4 method for signature 'SangerRead'
writeFastaSR(object, outputDir = NULL,
  compress = FALSE, compression_level = NA)

Arguments

object

A SangerRead S4 instance.

outputDir

The output directory of the generated FASTA file.

compress

Like for the save function in base R, must be TRUE or FALSE (the default), or a single string specifying whether writing to the file is to use compression. The only type of compression supported at the moment is "gzip". This parameter will be passed to writeXStringSet function in Biostrings package.

compression_level

This parameter will be passed to writeXStringSet function in Biostrings package.

Value

The output absolute path to the FASTA file.

Examples

1
2
data("sangerReadFData")
writeFastaSR(sangerReadFData)

sangeranalyseR documentation built on Nov. 8, 2020, 5:59 p.m.