Learn R Programming

coil (version 1.2.4)

coi5p: 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())

Value

An object of class "coi5p"

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.

Examples

Run this code
#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

Run the code above in your browser using DataLab