JRaviLab / MolEvolvR

An R Package for characterizing proteins using molecular evolution and phylogeny
https://jravilab.github.io/MolEvolvR/
Other
6 stars 16 forks source link

Refactor function names in R/cleanup.R #58

Closed teddyCodex closed 1 month ago

teddyCodex commented 1 month ago

Description

Refactored specified functions in R/cleanup.R based on issue #7

Original Modified User Facing
clean_string cleanString
string2accnum extractAccessionNumber
make_accnums_unique ensureUniqueAccessionNumbers
cleanup_fasta_header cleanUpFastaHeaders
remove_empty removeEmptyRows
repeat2s condenseRepeatedDomains
replaceQMs replaceQuestionMarks
remove_astrk removeAsterisks
remove_tails removeLowFrequencyEntries
cleanup_species cleanUpSpeciesColumn
cleanup_clust cleanUpClusterData
cleanup_domarch cleanUpDomainArchitecture
cleanup_gencontext cleanUpGenomicContextColumn
cleanup_GeneDesc cleanUpGeneDescription
pick_longer_duplicate selectLongestDuplicateRecord
cleanup_lineage cleanUpLineageData

Fixes issue #38

What kind of change(s) are included?

Checklist

Please ensure that all boxes are checked before indicating that this pull request is ready for review.

teddyCodex commented 1 month ago

@jananiravi @the-mayer File containing other occurrences of the functions. Please let me know if I should commit this file as well.

function_occurrences #38.txt