getIdenticalLength: Function to calculate the length of identical sequence...

View source: R/getIdenticalLength.R

getIdenticalLengthR Documentation

Function to calculate the length of identical sequence stretch 5' or 3' of given boundaries of sequence stretches from two longer sequences.

Description

Function to calculate the length of identical sequence stretch 5' or 3' of given boundaries of sequence stretches from two longer sequences.

Usage

getIdenticalLength(hits, subject, query, type)

Arguments

hits

data.frame storing potential hits (donor pseudogenes) that explain a given gene conversion event. Each row corresponds to one definition using a given pseudogene. The boundaries of the pseudogene sequence and the observed repertorie sequence are given.

subject

DNAStringSet object containing a set of pseudogene DNA sequences.

query

character, the full-length V gene sequence of the observed repertoire sequence for which gene conversion events are annotated.

type

character, either '5p' or '3p' denoting the direction for which the identical sequence stretches are considered.


Fraternalilab/BrepConvert documentation built on Oct. 14, 2022, 5:54 p.m.