generateKmersFromIUPAC {transite} | R Documentation |
Generates all possible k-mers for a given IUPAC string.
generateKmersFromIUPAC(iupac, k)
iupac |
IUPAC string |
k |
length of k-mer, |
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 |
list of k-mers
http://www.chem.qmul.ac.uk/iubmb/misc/naseq.html
Other motif functions: generateIUPACByKmers
,
generateIUPACByMatrix
,
getMotifById
, getMotifByRBP
,
getMotifs
, getPPM
,
initIUPAClookupTable
,
motifsMetaInfo
, setMotifs
generateKmersFromIUPAC(motifIUPAC(getMotifById("M178_0.6")[[1]]), k = 6)