circular_cut: Takes a full sequence and a starting point and returns a...

Description Usage Arguments Details Value Note

View source: R/circular_cut.R

Description

Takes a full sequence and a starting point and returns a circularly wrapped cut

Usage

1
circular_cut(seq_data, len, start.pos)

Arguments

start.pos

starting position for the chop

seq

full length sequence

length

length of the sequence

Details

Currently returns a vector with no attributes, since those will be handled at the level of the function that calls this

Value

Returns a character vector with the chopped sequence

Note

This function is not vectorized, because of its reliance on if statements. Not sure how to handle that.


adsteen/genomechop documentation built on May 18, 2019, 8:11 p.m.