R/Structstrings-alphabet.R

#' @include Structstrings.R
NULL

#' @rdname DotBracketString
#' @export
setMethod("alphabet", "DotBracketString",
          function(x){
            DOTBRACKET_ALPHABET
          })
#' @rdname DotBracketString
#' @export
setMethod("encoding", "DotBracketString",
          function(x){
            ans <- DOTBRACKET_CHAR_VALUES
            names(DOTBRACKET_ALPHABET)
            ans
          })

Try the Structstrings package in your browser

Any scripts or data that you put into this service are public.

Structstrings documentation built on Dec. 11, 2020, 2:01 a.m.