Skip to content

Commit

Permalink
maintain function name consistency across .R files while other determ…
Browse files Browse the repository at this point in the history
…inations are made

- getAccNumFromFA()
  • Loading branch information
the-mayer committed Oct 12, 2024
1 parent a74fb69 commit 5fcd985
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export(generate_all_aln2fa)
export(generate_msa)
export(getAccNumFromFA)
export(getTopAccByLinDomArch)
export(get_accnums_from_fasta_file)
export(get_proc_medians)
export(get_proc_weights)
export(make_opts2procs)
Expand Down
4 changes: 2 additions & 2 deletions R/CHANGED-pre-msa-tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ writeMSA_AA2FA <- function(alignment, outpath) {
return(fasta)
}

#' Get accnums from fasta file
#' getAccNumFromFA
#'
#' @param fasta_file
#'
Expand All @@ -655,7 +655,7 @@ writeMSA_AA2FA <- function(alignment, outpath) {
#' @export
#'
#' @examples
get_accnums_from_fasta_file <- function(fasta_file) {
getAccNumFromFA <- function(fasta_file) {
txt <- read_file(fasta_file)
accnums <- stringi::stri_extract_all_regex(fasta_file, "(?<=>)[\\w,.]+")[[1]]
return(accnums)
Expand Down
6 changes: 5 additions & 1 deletion man/getAccNumFromFA.Rd

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

14 changes: 0 additions & 14 deletions man/get_accnums_from_fasta_file.Rd

This file was deleted.

0 comments on commit 5fcd985

Please sign in to comment.