% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SemsqlConn-S7.R
\name{get_descendants_partonomy}
\alias{get_descendants_partonomy}
\title{Get descendants traversing both is-a and has-part relationships}
\usage{
get_descendants_partonomy(conn, term_id, include_self = FALSE)
}
\arguments{
\item{conn}{A \code{SemsqlConn} object.}

\item{term_id}{character(1) CURIE.}

\item{include_self}{logical(1) whether to include the term itself
(default \code{FALSE}).}
}
\value{
data.frame with columns \code{id}, \code{label}, \code{predicate}.
}
\description{
Convenience wrapper around \code{\link[=get_descendants]{get_descendants()}} that follows both
\code{rdfs:subClassOf} and \code{BFO:0000051} (has-part) edges.
}
\examples{
goref <- semsql_connect(ontology = "go")
get_descendants_partonomy(goref, "GO:0005634") # nucleus sub-components
disconnect(goref)
}
