generate_kmers_from_iupac: Generates all _k_-mers for IUPAC string

Description Usage Arguments Details Value References See Also Examples

View source: R/misc.R

Description

Generates all possible k-mers for a given IUPAC string.

Usage

1

Arguments

iupac

IUPAC string

k

length of k-mer, 6 (hexamers) or 7 (heptamers)

Details

IUPAC RNA nucleotide code:

A Adenine
C Cytosine
G Guanine
U Uracil
R A or G
Y C or U
S G or C
W A or U
K G or U
M A or C
B C or G or U
D A or G or U
H A or C or U
V A or C or G
N any base

Value

list of k-mers

References

http://www.chem.qmul.ac.uk/iubmb/misc/naseq.html

See Also

Other motif functions: generate_iupac_by_kmers(), generate_iupac_by_matrix(), get_motif_by_id(), get_motif_by_rbp(), get_motifs_meta_info(), get_motifs(), get_ppm(), init_iupac_lookup_table(), set_motifs()

Examples

1

transite documentation built on Nov. 8, 2020, 5:27 p.m.