-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into branch_name
- Loading branch information
Showing
19 changed files
with
865 additions
and
11,179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
library(tidyverse) | ||
#' Install Julia packages to use the functions for NCBI ======================== | ||
#' | ||
#' Here we use the JuliaCall library to get the funcitons we need | ||
|
||
# create install.ncbi() function =============================================== | ||
|
||
install.ncbi <- function() { | ||
library(JuliaCall) | ||
julia_setup() | ||
julia_install_package_if_needed("NCBITaxonomy") | ||
julia_install_package_if_needed("DataFrames") | ||
julia_install_package_if_needed("CSV") | ||
julia_install_package_if_needed("ProgressMeter") | ||
} | ||
|
||
# install the packages if needed | ||
JuliaCall::julia_install_package_if_needed("NCBITaxonomy") | ||
JuliaCall::julia_install_package_if_needed("DataFrames") | ||
JuliaCall::julia_install_package_if_needed("CSV") | ||
JuliaCall::julia_install_package_if_needed("ProgressMeter") | ||
} |
Oops, something went wrong.