library(CentralDogma)
This package stimulates the process of the central dogma in biology, namely the process of replication, transcription and translation. Five main functions are included in this package so far.
transcription("ATCTA")
#> [1] "AUCUA"
AAplot <- AA_num_plot("MFVVYNKRSS")
AAplot
The dependencies are needed for the fifth function AA_num_plot(). We typed usethis::use_package(“package_name”) three times to add “ggplot”, “magrittr” and “stringr” into the DESCRIPTION file. Inside of the funcion file, we added @importFrom magrittr %>% in order to use the Tidyver pipe to our package namespace.
Disadvantages for not limiting the number of dependencies:
package::function() Vs. @importFrom package function:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.