Skip to content

Commit ceba5ba

Browse files
committed
Export match_annotation to use in mirix
1 parent 9dec0e7 commit ceba5ba

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Generated by roxygen2: do not edit by hand
22

3+
export(match_annotation)
34
export(what_antibiotic)
45
export(what_phenotype)

R/what.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ what_phenotype <- function (lineage,
6969
#' @param lineage A vector of taxonomic assignments or lineages
7070
#' @param db A data frame with columns named "taxon", "rank", and "value"
7171
#' @return A vector of assigned values
72+
#'
73+
#' @export
7274
match_annotation <- function (lineage, db) {
7375
get_rank_specific_db <- function (r) {
7476
rank_is_r <- db[["rank"]] %in% r

0 commit comments

Comments
 (0)