getSeed8mers: getSeed8mers

View source: R/misc.R

getSeed8mersR Documentation

getSeed8mers

Description

Generates all possible 8mers with 4 consecutive and positioned matches to a given seed.

Usage

getSeed8mers(seed, addNs = FALSE)

Arguments

seed

The miRNA seed (target DNA sequence), a character vector of length 8 (if of length 7, a "A" will be added on the right)

addNs

Logical; whether to include 8mers with one flanking N

Value

A vector of 1024 8mers.

Examples

head(getSeed8mers("ACACTCCA"))

ETHZ-INS/scanMiR documentation built on April 16, 2024, noon