neurogenomics / MAGMA_Celltyping

Find causal cell-types underlying complex trait genetics
https://neurogenomics.github.io/MAGMA_Celltyping
71 stars 31 forks source link

Reduce functions in namespace #58

Closed bschilder closed 2 years ago

bschilder commented 2 years ago

A lot of functions that most people wouldn't use in practice are exported. This crowds the namespace and makes it harder to find key functions.

Making functions that only ever get called internally as internal.

bschilder commented 2 years ago

The following are now internal (not exported to NAMESPACE). I made sure none of these were called in the vignettes, README, or @examples.

bschilder commented 2 years ago

Avoiding exporting of all ggplot2 functions also drastically reduces the namespace. Requires prefixing all functions with ggplot2:: but worth it.