seq_disambiguate_IUPAC {bioseq} | R Documentation |
Disambiguate biological sequences
Description
This function finds all the combinations of sequences corresponding to a given vector of sequences with ambiguities (IUPAC codes).
Usage
seq_disambiguate_IUPAC(x)
Arguments
x |
a DNA, RNA or AA vector |
Value
A list of DNA, RNA or AA vectors (depending on the input) giving all possible combinations.
See Also
Other op-misc:
seq_nchar()
,
seq_nseq()
,
seq_spellout()
,
seq_stat_gc()
,
seq_stat_prop()
Examples
x <- dna(c("AYCTGW", "CTTN"))
seq_disambiguate_IUPAC(x)
y <- seq_transcribe(x)
seq_disambiguate_IUPAC(y)
z <- aa("YJSNAALNX")
z <- seq_translate(y)
seq_disambiguate_IUPAC(z)
[Package bioseq version 0.1.4 Index]