Learn R Programming

sangerseqR (version 1.8.2)

primarySeqID: Sangerseq Accessor Functions

Description

Accessor Functions allow the user to retrieve results from and assign values to sangerseq-class objects.

Usage

primarySeqID(obj)

primarySeqID(obj) <- value

primarySeq(obj, string = FALSE)

primarySeq(obj) <- value

secondarySeqID(obj)

secondarySeqID(obj) <- value

secondarySeq(obj, string = FALSE)

secondarySeq(obj) <- value

traceMatrix(obj)

traceMatrix(obj) <- value

peakPosMatrix(obj)

peakPosMatrix(obj) <- value

peakAmpMatrix(obj)

peakAmpMatrix(obj) <- value

## S3 method for class 'sangerseq': primarySeq(obj, string = FALSE)

## S3 method for class 'sangerseq': secondarySeq(obj, string = FALSE)

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

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

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

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

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

## S3 method for class 'sangerseq': primarySeq(obj) <- value

## S3 method for class 'sangerseq': secondarySeq(obj) <- value

## S3 method for class 'sangerseq': traceMatrix(obj) <- value

## S3 method for class 'sangerseq': peakPosMatrix(obj) <- value

## S3 method for class 'sangerseq': peakAmpMatrix(obj) <- value

## S3 method for class 'sangerseq': primarySeqID(obj) <- value

## S3 method for class 'sangerseq': secondarySeqID(obj) <- value

Arguments

obj
sangerseq object to be manipulated
value
The value to set the slot to.
string
TRUE/FALSE. FALSE (default) returns a DNAString class object. TRUE returns the DNA sequence as a character string.

See Also

sangerseq-class

Examples

Run this code
hetsangerseq <- readsangerseq(system.file("extdata",
                                          "heterozygous.ab1",
                                          package = "sangerseqR"))
primarySeq(hetsangerseq)
secondarySeq(hetsangerseq, string=TRUE)
primarySeqID(hetsangerseq)
primarySeqID(hetsangerseq) <- "Some string"
primarySeqID(hetsangerseq)

Run the code above in your browser using DataLab