check_motif: Check sequences for STR repeats

View source: R/analyze_seqs.R

check_motifR Documentation

Check sequences for STR repeats

Description

Return a logical vector specifying, for each entry, if the sequence contains at least nrepeats perfect repeats of the matching locus' motif.

Usage

check_motif(sample.data, locus_attrs, nrepeats)

Arguments

sample.data

data frame of processed sequence data.

locus_attrs

data frame of attributes for loci to look for.

nrepeats

number of repeats of each locus" motif to require for a match.

Value

logical vector indicating where repeats were observed.


ShawHahnLab/chiimp documentation built on Aug. 20, 2023, 1:41 a.m.