diff --git a/DESCRIPTION b/DESCRIPTION index fa59481..cc3602e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: pald Title: Partitioned Local Depth for Community Structure in Data -Version: 0.0.3 +Version: 0.0.4 Authors@R: c(person("Katherine", "Moore", email = "kmoore@amherst.edu", role = c("aut"), comment = c(ORCID = "0000-0001-6943-2416")), diff --git a/NEWS.md b/NEWS.md index 67dbeba..15e434c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# pald 0.0.4 + +* Update `pald` to allow for layouts to be specified and correctly passed to the output + # pald 0.0.3 * Change output in `community_clusters` to be a data frame with two columns: `point` and `community` diff --git a/man/pald.Rd b/man/pald.Rd index 97178eb..b78a542 100644 --- a/man/pald.Rd +++ b/man/pald.Rd @@ -12,6 +12,7 @@ pald( emph_strong = 2, edge_width_factor = 50, colors = NULL, + layout = NULL, ... ) } @@ -37,11 +38,12 @@ Default: \code{50}.} \item{colors}{A vector of display colors, if none is given a default list (of length 24) is provided.} +\item{layout}{A layout for the graph. If none is specified, FR-graph +drawing algorithm is used.} + \item{...}{Optional parameters to pass to the \code{\link[igraph:plot.igraph]{igraph::plot.igraph}}. function. Some commonly passed arguments include: \itemize{ -\item \code{layout} A layout for the graph. If none is specified, FR-graph -drawing algorithm is used. \item \code{vertex.label} A vector containing label names. If none is given, the rownames of \code{c} are used \item \code{vertex.size} A numeric value for vertex size (default = \code{1})