writeFastaSC-methods: Method writeFastaSC

writeFastaSCR Documentation

Method writeFastaSC

Description

Method writeFastaSC

Usage

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

data(sangerContigData)
writeFastaSC(sangerContigData)

roblanf/sangeranalyseR documentation built on April 15, 2024, 12:44 a.m.