Skip to content

Commit

Permalink
refactor function names in R/pre-msa-tree.R
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyCodex committed Oct 8, 2024
1 parent 7982ce9 commit 0118b5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/pre-msa-tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -623,12 +623,12 @@ alignFasta <- function(fasta_file, tool = "Muscle", outpath = NULL) {
)

if (typeof(outpath) == "character") {
writeMSAAAMultipleAlignment2FA(aligned, outpath)
writeMSA_AA2FA(aligned, outpath)
}
return(aligned)
}

#' writeMSAAAMultipleAlignment2FA
#' writeMSA_AA2FA
#'
#' @description
#' Write MsaAAMultpleAlignment Objects as aligned fasta sequence
Expand All @@ -647,7 +647,7 @@ alignFasta <- function(fasta_file, tool = "Muscle", outpath = NULL) {
#' @export
#'
#' @examples
writeMSAAAMultipleAlignment2FA <- function(alignment, outpath) {
writeMSA_AA2FA <- function(alignment, outpath) {
l <- length(rownames(alignment))
fasta <- ""
for (i in 1:l)
Expand Down

0 comments on commit 0118b5b

Please sign in to comment.