diff --git a/NAMESPACE b/NAMESPACE index 675546a9..8e376f02 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -171,6 +171,7 @@ importFrom(dplyr,mutate_if) importFrom(grDevices,rainbow) importFrom(htmltools,HTML) importFrom(igraph,graph_from_data_frame) +importFrom(igraph,layout_with_mds) importFrom(igraph,plot.igraph) importFrom(magrittr,"%>%") importFrom(markdown,markdownToHTML) diff --git a/man/network_leiden.Rd b/man/network_leiden.Rd index bc5d494d..d0dcc46b 100644 --- a/man/network_leiden.Rd +++ b/man/network_leiden.Rd @@ -13,6 +13,7 @@ network_leiden( path = "network_p2p_leiden", node_alpha = 0.8, res = 0.5, + seed = 1, desc_hrvar = c("Organization", "LevelDesignation", "FunctionType"), return = "plot-leiden", size_threshold = 5000 @@ -43,6 +44,8 @@ if returning anything other than "plot-leiden" or "plot-hrvar".} \item{res}{Resolution parameter to be passed to \code{leiden::leiden()}. Defaults to 0.5.} +\item{seed}{Parameter to be passed to \code{leiden::leiden()} to ensure consistency. Defaults to 1.} + \item{desc_hrvar}{Character vector of length 3 containing the HR attributes to use when returning the "describe" output. See \code{network_describe()}.}