Learn R Programming

rSFFreader (version 0.20.0)

readSff: Read SFF-formatted files into SffReads or SffReadsQ objects

Description

readSff reads all sff files specified in filenames, returning an R object of type SffReads or SffReadsQ which acts and behaves similarly to the ShortRead and ShortReadQ classes from package ShortRead

Usage

readSff(filenames, use.qualities=TRUE, use.names=TRUE, clipMode = c("full", "adapter", "quality", "raw"), verbose=TRUE)

Arguments

filenames
File or files to be read in.
use.qualities
logical(1) indicating whether to include quality values in the returned object.
use.names
logical(1) indicating whether to return read names, not yet implemented
clipMode
character(1) indicating the clipMode of the returned object.
verbose
logical(1) indicating whether to return verbose output.

Value

SffReads or SffReadsQ object.

Examples

Run this code
sff <- readSff(system.file("extdata","Small454Test.sff",package="rSFFreader"))

Run the code above in your browser using DataLab