Skip to content

Commit

Permalink
maintain function name consistency with CHANGED-pre-msa-tree.R and pr…
Browse files Browse the repository at this point in the history
…e-msa-tree.R while we determine where these functions should live.
  • Loading branch information
the-mayer committed Oct 12, 2024
1 parent 56b39da commit a74fb69
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 25 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export(to_titlecase)
export(totalGenContextOrDomArchCounts)
export(validateCountDF)
export(wordcloud3)
export(write.MsaAAMultipleAlignment)
export(writeMSA_AA2FA)
export(write_proc_medians_table)
export(write_proc_medians_yml)
Expand Down
6 changes: 3 additions & 3 deletions R/CHANGED-pre-msa-tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -610,12 +610,12 @@ alignFasta <- function(fasta_file, tool = "Muscle", outpath = NULL) {
)

if (typeof(outpath) == "character") {
write.MsaAAMultipleAlignment(aligned, outpath)
writeMSA_AA2FA(aligned, outpath)
}
return(aligned)
}

#' Write MsaAAMultpleAlignment Objects as algined fasta sequence
#' writeMSA_AA2FA
#'
#' @description
#' MsaAAMultipleAlignment Objects are generated from calls to msaClustalOmega
Expand All @@ -632,7 +632,7 @@ alignFasta <- function(fasta_file, tool = "Muscle", outpath = NULL) {
#' @export
#'
#' @examples
write.MsaAAMultipleAlignment <- function(alignment, outpath) {
writeMSA_AA2FA <- function(alignment, outpath) {
l <- length(rownames(alignment))
fasta <- ""
for (i in 1:l)
Expand Down
20 changes: 0 additions & 20 deletions man/write.MsaAAMultipleAlignment.Rd

This file was deleted.

7 changes: 6 additions & 1 deletion man/writeMSA_AA2FA.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a74fb69

Please sign in to comment.