Learn R Programming

coil (version 1.0.0)

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

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.

Value

an object of class "coi5p"

Examples

Run this code
# NOT RUN {
dat = coi5p(example_nt_string)
#named coi5p sequence
dat = coi5p(example_nt_string, name = "example_seq1")
#components in output coi5p object:
dat$raw
dat$name
# }

Run the code above in your browser using DataLab