R/makePostalignedSeqs.R

#' @title makePostalignedSeqs
#' @name makePostalignedSeqs
#' @description This function is a fork from an internal function from
#' \code{Biostrings}
#' @param x x
#' @return get internal function makePostalignedSeqs
#' @seealso \code{\link[pwalign]{pairwiseAlignment}},
#' \link[MSA2dist]{cds2codonaln}
#' @examples
#' ## define two cds sequences
#' cds1 <- Biostrings::DNAString("ATGCAACATTGC")
#' cds2 <- Biostrings::DNAString("ATGCATTGC")
#' makePostalignedSeqs(pwalign::pairwiseAlignment(
#'     cds2aa(Biostrings::DNAStringSet(cds1)),
#'     cds2aa(Biostrings::DNAStringSet(cds2))))
#' @export makePostalignedSeqs
#' @author Kristian K Ullrich

makePostalignedSeqs <- get('.makePostalignedSeqs',
    envir=asNamespace('pwalign'), inherits=FALSE)
kullrich/MSA2dist documentation built on Nov. 14, 2024, 5:39 p.m.