aumath-advancedr2019 / simDNA

An R package for simulating DNA sequences.
https://aumath-advancedr2019.github.io/simDNA/
0 stars 0 forks source link

Feedback on simData #1

Open JetteS opened 4 years ago

JetteS commented 4 years ago

1. Purpose of the package

The purpose of the package is stated in the title of the package and the README file on GitHub. However, the title and description in the DESCRIPTION file are the same and do only say "Simulate and analyze DNA" (please change analyze to analyse ;-) ). I would have liked a single paragraph describing more of what the package does under description. Furthermore, it would be nice, if the package had a package documentation (help file) with more information about what the package does and what functions are included.

After looking into the package, I feel that the title/name of the package and the descriptions are a little bit misleading. I expected a package that includes several functions for simulating different types of DNA data. Instead, the package does only include one single function that simulates a segregating sites matrix. The remaining functions focus on the site frequency spectrum and the mutation rate.

2. Completeness

3. Code quality and sophistication

4. Documentation

5. Interface

6. (optional) Additional comments

I already mentioned that I miss some more functions in the package. The function pairwDiff is already implemented as a part of the function mutRate and can be omitted. The function print.population is a replication of the basic print function and can be omitted, too. Hence, the package does only include five rather simple functions.

7. Conclusion

I really liked the help files and the vignettes. The package could become very useful, if you add some more sophisticated functions.

JetteS commented 4 years ago

The vignettes were included after all! I forgot to say build_vignettes=TRUE… Sorry :-)

UnicRain commented 4 years ago

Thank you for the feedback. We have updated the description file as suggested and we agree the name is misleading. We will implement better ways to use S3 objects.

In regard to the amount of functions, our focus was to have few well-tested, well-documented and user-friendly functions to practice different aspects of package-writing.

We appreciate your feedback.

JetteS commented 4 years ago

I understand that you wanted to focus on having few but well-tested and well-documented functions. You absolutely managed to do that! I think it would be nice if you mention that in the README file or in the package documentation, as it is clearly an advantage of your package.