seqSplit: Convenience function for splitting a bunch of sequences into...

View source: R/dna.R

seqSplitR Documentation

Convenience function for splitting a bunch of sequences into a matrix

Description

Convenience function for splitting a bunch of sequences into a matrix

Usage

seqSplit(..., fill = ".")

Arguments

...

Various sequences to split into a matrix

fill

A character to pad ends of sequences. An error is generated if any sequence differs in length if NULL

Value

A matrix of single characters each row corresponding to a read

Examples

seqSplit('ACACA','ACA')
seqSplit('ACACA','ACA',fill='-')
seqSplit(c('ACACA','ACA'),'TCACA')

sherrillmix/dnar documentation built on July 18, 2022, 10:07 p.m.