Nothing
bma <- function(nucl, warn.non.IUPAC = TRUE, type = c("DNA", "RNA")){
if(nchar(nucl[1]) != 1) stop("vector of single chars expected")
type <- match.arg(type)
nucl <- tolower(nucl)
nucl <- unlist(sapply(nucl, amb, checkBase = FALSE))
iupac <- sapply(amb(), amb)
if(type == "DNA"){
iupac$u <- NULL
} else {
iupac$t <- NULL
}
idx <- unlist(lapply(iupac, setequal, nucl))
if(all(idx == FALSE)){
if(warn.non.IUPAC){
warning(paste("Undefined IUPAC symbol with:", paste(nucl, collapse = " ")))
}
return(NA)
}
return(names(iupac)[idx])
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.