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

Refactored function names in R/plotting.R #63

Closed teddyCodex closed 1 month ago

teddyCodex commented 1 month ago

Description

Refactored specified function names in R/plotting.R based on issue #7

Original Modified User Facing
shorten_lineage shortenLineage
upset.plot plotUpSet
lineage.DA.plot plotLineageDA
lineage.Query.plot plotLineageQuery
lineage.neighbors.plot plotLineageNeighbors
lineage.domain_repeats.plot plotLineageDomainRepeats
LineagePlot plotLineageHeatmap
LevelReduction .LevelReduction
GetKingdom .GetKingdom
stacked_lin_plot plotStackedLineage
Wordcloud3 plotWordCloud3
wordcloud_element createWordCloudElement
wordcloud2_element createWordCloud2Element
lineage_sunburst plotLineageSunburst
lineage.plot plotLineage

Fixes issue #51

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

@the-mayer @jananiravi File containing other locations where the functions are called or referenced.

function_occurrences #51.txt

the-mayer commented 1 month ago

Tagging functions for future review.

The following internal functions should be defined outside of the plotting functions that currently use them. This way, the plot functions can reference these external functions, avoiding the need to define functions within functions.