% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/network_utils.R
\name{network_utils}
\alias{network_utils}
\title{Network Utility Functions for Edge-List Manipulation}
\value{
Internal utility functions used by MetaPathNet.
}
\description{
A small set of helpers to inspect and edit network edge lists produced by
\code{buildKeggNetwork()}, or related functions. These utilities make it easier to:
\itemize{
\item check whether user-supplied nodes are present in a network,
\item merge equivalent nodes under a single identifier,
\item remove selected nodes (and all their incident edges),
\item strip KEGG drug nodes (\code{"dr:"}) from a network.
}
}
\details{
Each function has its own documentation and examples:
\itemize{
\item \code{\link{findMappedNodes}} — test which nodes are mapped or unmapped.
\item \code{\link{replaceNode}} — replace specified nodes with a new ID.
\item \code{\link{removeNetworkNodes}} — remove specified nodes and their edges.
\item \code{\link{removeDrugs}} — remove all KEGG drug nodes (\code{"dr:"}).
}
}
\seealso{
\code{\link{buildKeggNetwork}}, \code{\link{buildEgoNetwork}}
}
\keyword{internal}
