selectVariants: Select sequence variants based on the max number of...

View source: R/utility_functions.R

selectVariantsR Documentation

Select sequence variants based on the max number of mismatches to some reference site

Description

Select sequence variants based on the max number of mismatches to some reference site

Usage

selectVariants(data, reference, maxMismatches = 1)

Arguments

data

The data frame includes Sequence variable

reference

Reference site

maxMismatches

The max number of mismatches of each sequence to the reference site

Value

The data frame containing all sequences with no more than maxMismatches to the reference

Examples

selectVariants(data, "GTACGAC", maxMismatches=1)

zeropin/TFCookbook documentation built on July 8, 2023, 2:59 p.m.