Skip to content

Commit

Permalink
added meta information for helper functions
Browse files Browse the repository at this point in the history
  • Loading branch information
sameerpadhye committed Oct 8, 2024
1 parent 2916d1d commit 6986c21
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
5 changes: 4 additions & 1 deletion R/helper.POSTapi_download_w_json2df.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
#' @importFrom httr POST
#'
#' @keywords internal

# These functions are used by
# #1. bold.fetch
# #2. bold.public.search
#
# Function 1: Retrieve data using the POST API

post.api.res.fetch<-function (base.url,
Expand Down
3 changes: 3 additions & 0 deletions R/helper.gen.comm.mat.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
#'
#' @keywords internal
#'
# This function is used by
# #1. bold.analyze.diversity
#
gen.comm.mat<-function(bold.df,
taxon.rank,
taxon.name=NULL,
Expand Down
6 changes: 5 additions & 1 deletion R/helper.get.bin.project.dataset.pids.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
################## Obtain processids for bin_uri, dataset_codes and project codes using GET API ######################
#' @keywords internal

# Helper functions to obtain processids for bin_uri, dataset_codes and project codes using GET API
# These functions are used by
# #1. bold.fetch
#
# Function 1: The function that uses GET to retrieve pids (First a token is generated which is then used for obtaining the processids)

bin.dataset.project.pids<-function (get.data.input,
Expand Down
3 changes: 3 additions & 0 deletions R/helper.msa.gen_ape_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#'
#' @keywords internal
#'
# # These functions are used by
# #1. bold.analyze.align
#
# Function 1: Function to obtain the multiple sequence alignment from the BCDM dataframe
gen.msa.res<-function(df,
alignmethod,
Expand Down
4 changes: 3 additions & 1 deletion R/helper.public.search.public_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
#' @importFrom dplyr %>%
#' @importFrom utils download.file
#' @keywords internal

# This function is used by
# #1. bold.public.search
#
fetch.public.data<-function (query)

{
Expand Down

0 comments on commit 6986c21

Please sign in to comment.