coi5p {coil}R Documentation

Build a coi5p object from a DNA sequence string.

Description

Build a coi5p object from a DNA sequence string.

Usage

coi5p(x = character(), name = character())

Arguments

x

A nucleotide string. Valid characters within the nucleotide string are: "a", "t", "g", "c", "-" and "n". coil treats both '-' and 'n' characters as placeholder nucleotides when comparing to the PHMM. The nucleotide string can be input as upper case, but will be automatically converted to lower case.

name

An optional character string that serves as the identifier for the sequence.

Value

An object of class "coi5p"

Examples

#build an unnamed coi5p object
dat = coi5p(example_nt_string)
#build a named coi5p sequence
dat = coi5p(example_nt_string, name = "example_seq1")
#available components in the coi5p object:
dat$raw
dat$name

[Package coil version 1.2.4 Index]