Learn R Programming

sangerseqR (version 1.8.2)

sangerseq-class: Sangerseq Class Objects

Description

Sangerseq Class Objects contain data necessary for using sangerseq package functions (e.g. chromatogram, makeBaseCalls). The exact content will depend on the source of the data (for example, scf files do not have secondary Basecalls).

Usage

sangerseq(obj)

## S3 method for class 'abif': sangerseq(obj)

## S3 method for class 'scf': sangerseq(obj)

Arguments

obj
Can be either an abif or scf object.

See Also

abif, scf

Examples

Run this code
#sample sangerseq object created from abif file
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)

Run the code above in your browser using DataLab