Skip to content

Commit

Permalink
Link subtree functions in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
allenbaron committed Feb 15, 2024
1 parent 3b1027f commit fad1b50
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/extract.R
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ extract_doid_url <- function(doid_edit, include_obsolete = FALSE,
#' and `parent_label`, with one row for each unique combination for each
#' subclass below and including `top_node`.
#'
#' @seealso [format_subtree()] to arrange data in a tree structure similar to
#' ontology browsers.
#' @export
extract_subtree <- function(x, top_node, reload = FALSE) {
owl <- access_owl_xml(x)
Expand Down
1 change: 1 addition & 0 deletions R/format.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ format_obo <- function(x, as = "CURIE", validate_input = TRUE) {
#' st_formatted
#' }
#'
#' @seealso [extract_subtree()]
#' @export
format_subtree <- function(subtree_df, top_node) {
rlang::check_installed("tidygraph", reason = "to use `format_subtree()`")
Expand Down
4 changes: 4 additions & 0 deletions man/extract_subtree.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/format_subtree.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fad1b50

Please sign in to comment.