Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.4.0 #295

Merged
merged 97 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
f9f3134
Fixed node_constraint() to work with weighted twomode networks, thank…
jhollway Mar 28, 2024
71c0f19
Updated migraph logo with stocnet address, colorsafe colorway, and la…
jhollway Apr 30, 2024
7354c57
Added network_independence() for calculating the number of nodes in t…
jhollway May 2, 2024
77a94a7
Added .corDiag() and .corRecip() for calculating nodal correlations w…
jhollway May 20, 2024
8b320f8
equivalence functions can now be used in e.g. mutate() without specif…
jhollway May 22, 2024
77d3ace
Fixed bug in node_tie_census() where census only conducted on second …
jhollway May 22, 2024
5721384
Added thisRequires() helper into migraph (copy from manynet)
jhollway May 22, 2024
78102ca
Using thisRequires() for ggdendro dependency
jhollway May 22, 2024
06a3c2e
Added .corComplex()
jhollway May 22, 2024
dc264a1
Added to_correlation()
jhollway May 22, 2024
3071def
make_node_member() now converts numeric results to LETTER character r…
jhollway May 22, 2024
ab2e886
Fixed how cluster_concor handles unlabelled networks
jhollway May 22, 2024
88136a2
cluster_hierarchical() and cluster_concor() now use to_correlation() …
jhollway May 22, 2024
560b61d
Fixed how cluster_concor() handles two-mode networks
jhollway May 22, 2024
48db250
Fixed bug where cluster_concor() cutoff resulted in unsplit groups
jhollway May 22, 2024
f9f08d9
node_tie_census() now works on longitudinal network data
jhollway May 23, 2024
9460c7c
print.node_member() now works with categorical membership vectors, de…
jhollway May 23, 2024
0c760bb
All measures and membership functions now infer network data where no…
jhollway May 23, 2024
a878a56
Added argument to overwrite default behaviour in to_correlation()
jhollway May 23, 2024
bb91b88
Fixed node_member tests
jhollway May 23, 2024
d153c72
Added tests for to_correlation()
jhollway May 23, 2024
ad67d14
Fixed bug where print.node_motif() wasn't printing the requested numb…
jhollway May 23, 2024
6eb9ec7
Fixed remaining documentation bugs
jhollway May 23, 2024
d459976
Developed migraph README further
jhollway May 23, 2024
c3626f8
#minor bump and NEWS
jhollway May 23, 2024
f875229
Fixed small issue with `cluster_concor()`
henriquesposito May 24, 2024
b39012b
Revert "Fixed small issue with `cluster_concor()`"
jhollway May 24, 2024
f30fa52
Updated migraph version number in NEWS
jhollway May 24, 2024
3aff8fc
Avoid i undefined issue
jhollway May 24, 2024
3f47ac1
Try again
jhollway May 24, 2024
def74ee
Added descriptions to tutorials
jhollway Jun 13, 2024
4d15f50
Hierarchical clustering algorithms now return dendrograms
jhollway Jun 14, 2024
8bfed72
node_roulette() renamed to node_in_roulette()
jhollway Jun 14, 2024
3d8e1cb
node_components() renamed node_in_component() NB no longer plural!, n…
jhollway Jun 14, 2024
a3c369c
Moved to_correlation() to manynet, filled in _in_ defunct
jhollway Jun 14, 2024
42d2d5c
node_core() renamed to node_in_core(), node_coreness() now returns no…
jhollway Jun 14, 2024
52b24f4
node_equivalence(), node_structural_equivalence(), node_regular_equiv…
jhollway Jun 14, 2024
45e7470
node_edge_betweenness(), node_fast_greedy(), node_leading_eigen(), an…
jhollway Jun 14, 2024
3f9f3fa
node_fluid(), node_infomap(), node_kernaghinlin(), node_leiden(), nod…
jhollway Jun 14, 2024
dffdb59
Added parallelisation to testthat tests
jhollway Jun 16, 2024
9524ff7
node_exposure() now sums tie weights where passed a weighted network
jhollway Jun 16, 2024
c5f9315
node_kernaghinlin() renamed to node_in_partition()
jhollway Jun 17, 2024
ffa25c5
Fixed _in_ documentation
jhollway Jun 17, 2024
1f456a0
Fixed precisions in testthat tests related to reliance on newer version
jhollway Jun 17, 2024
12a8226
Fixed community documentation
jhollway Jun 17, 2024
654c294
Fixed cluster to_correlation dependence
jhollway Jun 17, 2024
cc6dc72
Renamed test_gof() to test_fit() to improve readability, split test d…
jhollway Jun 17, 2024
506ec64
Added test_distribution() to test whether two vectors/distributions a…
jhollway Jun 17, 2024
3833dd7
Updated function names in tutorials
jaeltan Jun 18, 2024
43eb71b
Updated equivalence function names in function description
jaeltan Jun 18, 2024
5e06e2b
Migrated cluster and k to manynet
jhollway Jun 23, 2024
22c4b43
Migrated centrality measures to manynet
jhollway Jun 23, 2024
bef956a
Migrated node_roulette() to manynet
jhollway Jun 23, 2024
dc84ea5
Migrated closure measures to manynet
jhollway Jun 23, 2024
d06531b
Migrated components to manynet
jhollway Jun 23, 2024
04edafc
Migrated equivalence memberships to manynet
jhollway Jun 23, 2024
1cdc41e
Migrated cohesion measures to manynet
jhollway Jun 23, 2024
9b4873b
Migrated community memberships to manynet
jhollway Jun 23, 2024
f783c65
Migrated core to manynet
jhollway Jun 23, 2024
b1d6578
Migrated heterogeneity measures to manynet
jhollway Jun 23, 2024
56f8ae3
Migrated hierarchy measures to manynet
jhollway Jun 23, 2024
08369d7
Migrated diffusion measures to manynet
jhollway Jun 23, 2024
7297417
Migrated over_ to manynet
jhollway Jun 23, 2024
e756c77
Migrated holes measures to manynet
jhollway Jun 23, 2024
cf23995
Migrated feature measures to manynet
jhollway Jun 23, 2024
80b2d74
Migrated census/motifs to manynet
jhollway Jun 23, 2024
6fb85db
Migrated residual classes to manynet
jhollway Jun 23, 2024
607c7ec
Migrated community tutorial to manynet
jhollway Jun 23, 2024
68c7fbd
Migrated position tutorial to manynet
jhollway Jun 23, 2024
c5a9918
Migrated topology tutorial to manynet
jhollway Jun 23, 2024
b7eef6e
Migrated defunct warnings to manynet
jhollway Jun 23, 2024
3af95db
test_fit() no longer measures fit against steps where there is no cov…
jhollway Jun 23, 2024
e72e10c
Migrated tests to manynet
jhollway Jun 23, 2024
5ece8c6
Dropped old defuncts
jhollway Jun 23, 2024
779dd2a
Fixed documentation bug in regression
jhollway Jun 23, 2024
1daea5a
Fixed missing scale_y_discrete reexport
jhollway Jun 23, 2024
8137de6
Corrected manynet dependencies and net_ naming in tests
jhollway Jun 23, 2024
9c1745f
Fixed bug in test_random() where parameters were passed to manynet::g…
jhollway Jul 3, 2024
0749b5d
Corrected that test_random() returns results on edge-conditioned unif…
jhollway Jul 3, 2024
15c8a7c
Declared global variables
jhollway Jul 8, 2024
cfd8f34
Fixed various dependency issues
jhollway Jul 8, 2024
fba418b
Explaining situation in cran-comments
jhollway Jul 9, 2024
63dcb14
Commenting out tests/examples for now
jhollway Jul 9, 2024
fcb93b7
specificationAdvice now ignores absent ego terms for undirected networks
jhollway Jul 18, 2024
fa38ea2
Dropped centrality tutorial (in manynet)
jhollway Jul 18, 2024
a94ca76
Renamed regression tutorial the diversity tutorial
jhollway Jul 18, 2024
c305c0f
Initial section of diversity tutorial now about visualisation
jhollway Jul 18, 2024
fff75c2
Added richness section
jhollway Jul 18, 2024
d1cdef4
Diversity section now split from heterophily section to make passage …
jhollway Jul 18, 2024
2931c54
Updated CUG test section
jhollway Jul 18, 2024
7251a42
Updated QAP test section
jhollway Jul 18, 2024
e26c403
Updated network regression section of diversity tutorial, making sure…
jhollway Jul 18, 2024
d7e0e15
Reinstated test tests
jhollway Jul 18, 2024
3679d3d
Updated pkgdown and favicons
jhollway Jul 18, 2024
e4caeb6
#minor bump and updated description to match package trim
jhollway Jul 18, 2024
d5e8d7e
Updated README to match package trim, added alt text
jhollway Jul 18, 2024
a729dd6
Using html instead of markdown for images so alt text doesn't appear …
jhollway Jul 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#minor bump and updated description to match package trim
  • Loading branch information
jhollway committed Jul 18, 2024
commit e4caeb6345a7297f521abf4118adabc5784e5a57
19 changes: 9 additions & 10 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
Package: migraph
Title: Many Network Measures, Motifs, Members, and Models
Title: Univariate and multivariate tests for multimodal and other networks
Version: 1.4.0
Date: 2024-07-08
Description: A set of tools for analysing multimodal networks.
It includes functions for measuring
centrality, centralization, cohesion, closure, constraint and diversity,
as well as for network block-modelling, regression, and diffusion models.
The package is released as a complement to
Date: 2024-07-18
Description: A set of tools for testing networks.
It includes functions for univariate and multivariate
conditional uniform graph and quadratic assignment procedure testing,
and network regression.
The package is a complement to
'Multimodal Political Networks' (2021, ISBN:9781108985000),
and includes various datasets used in the book.
Built on the 'manynet' package, all functions operate with matrices, edge lists,
and 'igraph', 'network', and 'tidygraph' objects,
and on one-mode, two-mode (bipartite), and sometimes three-mode networks.
and on one-mode and two-mode (bipartite) networks.
URL: https://stocnet.github.io/migraph/
BugReports: https://github.com/stocnet/migraph/issues
License: MIT + file LICENSE
Language: en-GB
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Depends:
R (>= 3.6.0),
manynet
Expand Down Expand Up @@ -68,4 +68,3 @@ Roxygen: list(markdown = TRUE, roclets = c("namespace", "rd"))
Config/testthat/parallel: true
Config/testthat/edition: 3
Config/testthat/start-first: helper-functions

47 changes: 19 additions & 28 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,36 @@
# migraph 1.4.0

2024-05-23
2024-07-18

## Package

- Updated migraph logo with stocnet address, colorsafe colorway, and larger nodes and ties
- Copied thisRequires() helper into migraph from manynet
- testthat tests now parallelised
- Fixed precision issues in testthat tests
- Declared global variables `.data` and `.graph_context`

## Measures

- All measure functions can now be used in e.g. `mutate()` without specifying `.data`
## Measures, Motifs, and Memberships

## Members
- All measures, motifs, and memberships have migrated to `{manynet}`
- see `{manynet}` > v1.0.0 for more details

- All membership functions can now be used in e.g. `mutate()` without specifying `.data`
- The `node_member` class is now categorical
- `make_node_member()` now converts numeric results to LETTER character results
- `print.node_member()` now works with categorical membership vectors
- `print.node_member()` now declares how many groups before reporting the vectors
- Fixed `node_constraint()` to work with weighted two-mode networks, thanks to Toshitaka Izumi for spotting this
- Added `network_independence()` for calculating the number of nodes in the largest independent set
## Models

## Motifs
- Added `test_distribution()` to test whether two vectors/distributions are from the same distribution
- `test_gof()` renamed to `test_fit()` to improve readability
- Split tests documentation into two
- `test_fit()` no longer measures fit against steps where there is no covariance
- Fixed bug in `test_random()` where parameters were passed to `manynet::generate_random()` instead of the original object, which is processed more intuitively within `manynet::generate_random()` (thanks @RWKrause)
- Corrected that `test_random()` returns results on edge-conditioned uniform graphs, not size
- Reexported `ggplot2::scale_y_discrete()`
- Specification advice in `network_reg()` now ignores absent ego terms for undirected networks

- `node_tie_census()` now works on longitudinal network data
- Added `to_correlation()` for calculating the Pearson correlation
- This takes a method argument for "all", "diag", "recip", or "complex"
- These are similar to functions implemented by Ron Breiger and shared by him in correspondence
-
- Fixed bug where `print.node_motif()` wasn't printing the requested number of lines
## Tutorials

## Models
- Added descriptions to tutorials
- Renamed regression tutorial the diversity tutorial

- Several improvements to `cluster_concor()`
- `cluster_concor()` now uses `to_correlation()` for initial correlation
- It still uses `stats::cor()` for subsequent iterations
- Fixed how `cluster_concor()` handles unlabelled networks
- Fixed how `cluster_concor()` handles two-mode networks
- Fixed bug where `cluster_concor()` cutoff resulted in unsplit groups
- `cluster_hierarchical()` now also uses `to_correlation()`

# migraph 1.3.4

2024-03-07
Expand Down
4 changes: 2 additions & 2 deletions man/migraph-package.Rd

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