splitBlist: Split by List

Description Usage Arguments Examples

Description

Applied to DNA nucleotides (ACGT). Returns a list with [] removed

Usage

1
splitBlist(mstring)

Arguments

mstring

a base pare string with only nucleotides eg A[AG]AGT

Examples

1
2
3
4
 consensus<-"AGCT[AGCT]G"
 splitBlist(consensus)
 #     buf buf buf buf buf    buf
 # [1,] "A" "G" "C" "T" "AGCT" "G"

alexjgriffith/CCCA documentation built on May 10, 2019, 8:52 a.m.