Learn R Programming

prider (version 1.0.4)

chunker: 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.

Value

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

Details

Sliding window to create chunks of DNA sequences

Examples

Run this code
# NOT RUN {
test_csv <- system.file("extdata", "test.csv", package = "prider")

test_csv <- read.csv(test_csv)

chunks <- chunker(test_csv)

# }

Run the code above in your browser using DataLab