getMatchTypes: getMatchTypes

View source: R/scanning.R

getMatchTypesR Documentation

getMatchTypes

Description

Given a seed and a set of sequences matching it, returns the type of match.

Usage

getMatchTypes(x, seed, checkWobble = TRUE)

Arguments

x

A character vector of short sequences.

seed

A 7 or 8 nucleotides string indicating the seed (5' to 3' sequence of the target RNA). If of length 7, an "A" will be appended.

checkWobble

Whether to flag wobbled sites

Value

A factor of match types.

Examples

x <- c("AACACTCCAG","GACACTCCGC","GTACTCCAT","ACGTACGTAC")
getMatchTypes(x, seed="ACACTCCA")

ETHZ-INS/scanMiR documentation built on July 17, 2024, 6:18 a.m.