R: chunker

chunker {prider} | R Documentation

## chunker

### Description

Creates all primer candidates for a group of sequences using a sliding window.

### Usage

    chunker(seq_table, window_size = 20L)

### Arguments

`seq_table` | A DataFrame containing a column for sequence ids (Id) and sequences (Seq).
`window_size` | An integer. Set the sliding window width.

### Details

Sliding window to create chunks of DNA sequences

### Value

A DataFrame containing columns for the sequence ids (Id), indexes (Ix), joined ids and indexes (Id_Ix), and the primer sequences (Seq).

### Examples

    test_csv <- system.file("extdata", "test.csv", package = "prider")

    test_csv <- read.csv(test_csv)

    chunks <- chunker(test_csv)

[Package prider version 1.0.4 Index]