SangerContig-class-writeFastaSC: writeFastaSC

Description Usage Arguments Value Examples

Description

A SangerContig method which writes sequences into Fasta files.

Usage

1
2
3
## S4 method for signature 'SangerContig'
writeFastaSC(object, outputDir = NULL,
  compress = FALSE, compression_level = NA, selection = "all")

Arguments

object

A SangerContig S4 instance.

outputDir

The output directory of generated FASTA files.

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.

selection

This value can be all, reads_alignment, reads_unalignment or contig. It generates reads and the contig FASTA files.

Value

The output directory of FASTA files.

Examples

1
2
data("sangerContigData")
writeFastaSC(sangerContigData)

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