Learn R Programming

MLPA (version 1.10.0)

read.fsa: Imports a .fsa file from Applied Biosystems

Description

This function parses a FSA file holding fragment analysis data, using seqinr package's read.abif.

Usage

read.fsa(file, applyLowess = TRUE, processed = FALSE, meta.extra = NULL, ...)

Arguments

file

Single character value, the name and path of the file to parse.

applyLowess

Single logical value, whether to apply lowess on intensities to smooth time-related biases or not.

processed

Single logical value, whether to use processed DATA values (as stored in sets 9 to 12, not always available) rather than raw values (sets 1 to 4). If NA, processed ones will be used as long as they are available, else raw ones will be used instead.

meta.extra

Named character vector, defining which extra fields to extract to populate the runMetaData attribute. The vector names define the human-readable names to use in output, the vector values provide the 4 uppercase letter code to extract (all values will be gathered in a vector if the code is used several times). See the reference provided in read.abif for existing codes in the ABIF file format.

Further arguments to be passed to read.abif.

Value

A S3 object of class fsa

See Also

read.abif, GEP.process, plot.fsa, read.sanger

Examples

Run this code
# NOT RUN {
  # Example FSA file provided
  fsa <- read.fsa(system.file("extdata/fsa/A5918.fsa", package="MLPA"))
  print(fsa)
# }

Run the code above in your browser using DataLab