readsangerseq {sangerseqR} | R Documentation

## Read Scf or ABIF Files

### Description

This is a convienience function for reading Scf or ABIF files into a sangerseq object, which can be used by the other sangerseq package functions. It is equivalent to calling `read.scf` or `read.abif` as appropriate and then calling `sangerseq`.

### Usage

    readsangerseq(filename)

### Arguments

`filename` | Location of the file.

### Value

`sangerseq` s4 object

### See Also

`read.abif`, `read.scf`, `abif`, `scf`, `sangerseq`

### Examples

    hetsangerseq <- readsangerseq(system.file("extdata",
                                              "heterozygous.ab1",
                                              package = "sangerseqR"))
    str(hetsangerseq)
    #same for scf files
    homosangerseq <- readsangerseq(system.file("extdata",
                                               "homozygous.scf",
                                               package = "sangerseqR"))
    str(homosangerseq)

[Package sangerseqR version 1.23.0 Index]