Arcadia-Science / sourmashconsumr

Working with the outputs of sourmash in R
https://arcadia-science.github.io/sourmashconsumr/
Other
21 stars 3 forks source link

document rules for naming functions #19

Closed taylorreiter closed 1 year ago

taylorreiter commented 1 year ago

Naming functions

Functions that are exported (e.g. user-facing) are named by the action completed by the function, the sourmash output type the act on, and if relevant, a description of the action taken.

Functions that are not exported do not follow a naming scheme but strive to be fully descriptive of their actions, and when possible use the sourmash output types to make it clear what type of data the internal function operates on.

taylorreiter commented 1 year ago

22 changes taxonomy_annotate_to_metacoder() to from_taxonomy_annotate_to_metacoder(). Now need to do the mds one.

taylorreiter commented 1 year ago

This can probably be added to the dev docs and then the issue closed

taylorreiter commented 1 year ago

Closing bc added to dev docs