#' Reverse compliment
#'
#' @param seq A nucleotide sequence.
#'
#' @return A character vector
#' @export
#'
#' @examples
#' revcomp("AGTCG")
revcomp <- function(seq) {
return(stringi::stri_reverse((chartr('ACGT', 'TGCA', seq))))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.