recombineTwoSequences: Generate new sequence from recombination of two sequences

Description Usage Arguments Value Examples

View source: R/recombineTwoSequences.R

Description

This function generates a new sequences through recombination of two parental sequences using 3 modi of recombination. Either random combination of codons, crossover recombination or insertion.

Usage

1
recombineTwoSequences(ntSequence1, ntSequence2, preferenceVector)

Arguments

ntSequence1

Character value of a nucleotide sequence

ntSequence2

Character value of a nucleotide sequence

preferenceVector

Numeric vector of length three which indicates which modus of recombination should be prefered. The first number states the chance of random recombination, the second number indicates the chance of cross-over recombination and the third number indicates the chance of insertion recombination.

Value

Character value of a nucleotide sequence, generated by recombination from the entered ntSequence1 and ntSequence2. Modes of recombination are cross-over, insertion and random and mode preferences can be stated by preferenceVector.

Examples

1
recombineTwoSequences("AGGGCCTGGAGGAGGCTT","TAAGGCAAGCCTGGACCC",c(1,3,2))

caggtaagtat/ModCon documentation built on March 12, 2021, 4:12 a.m.