truncate: Truncate a string at the beginning.

View source: R/manip.R

truncateR Documentation

Truncate a string at the beginning.

Description

This is useful for a frame shift.

Usage

truncate(seq, k)

Arguments

seq

Sequence as a string to truncate.

k

Characters to truncate: 0, 1, 2, etc.

Value

String or sequence where k nucleotides are truncated at the beginning.


informatik-mannheim/gcat-base documentation built on Nov. 7, 2023, 7:18 a.m.