substitute_wildcards {LocaTT} | R Documentation |
Substitutes wildcard characters in a DNA sequence with their associated nucleotides surrounded by square brackets. The output is useful for matching in regular expressions.
substitute_wildcards(sequence)
sequence |
A string specifying the DNA sequence containing wildcard characters. |
A string of the DNA sequence in which wildcard characters are replaced with their associated nucleotides surrounded by square brackets.
substitute_wildcards(sequence="CAADATCCGCGGSTGGAGAA")