bases2ambiguous | R Documentation |
Convert set of single bases to ambiguous code
bases2ambiguous(bases)
bases |
vector of character sequences all the same number of characters |
single character string with ambiguous nucleotide codes representing any differences between sequences
https://en.wikipedia.org/wiki/Nucleic_acid_notation
seqs<-c('ACTAGG','ACGTGG','ACCTGG','ACATGG') ambig<-bases2ambiguous(seqs) pattern<-ambiguous2regex(ambig) grepl(pattern,seqs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.