decomposeContigNames: Parse the name of a contig

View source: R/strings.R

decomposeContigNamesR Documentation

Parse the name of a contig

Description

Given the contig-window names "blahblah_1-5000" return a 2 element character vector of c("blahblah", "1-5000")

Usage

decomposeContigNames(x, sep = "_")

Arguments

x

character vector of contig names

sep

character separator around which the component names are split

Value

a nrowx2 character array


BigelowLab/tetramers documentation built on April 3, 2022, 8:22 p.m.