DNAseq {debar}R Documentation

Build a DNAseq object from a DNA sequence string.

Description

This can optionally include the DNA sequence's corresponding PHRED quality values and a sequencer identifier as well.

Usage

DNAseq(x = character(), name = character(), phred = NULL)

Arguments

x

a nucleotide string. Valid characters within the nucleotide string are: a,t,g,c,-,n. The nucleotide string can be input as upper case, but will be automatically converted to lower case.

name

an optional character string. Identifier for the sequence.

phred

an optional character string. The phred score string corresponding to the nucleotide string. If passed then the input phred scores will be modified along with the nucleotides and carried through to the sequence output. Default = NULL.

Value

an object of class "coi5p"

Examples

dat = DNAseq(example_nt_string)
#named DNAseq sequence
dat = DNAseq(example_nt_string, name = "example_seq1")
#components in output DNAseq object:
dat$raw
dat$name

[Package debar version 0.1.1 Index]