https://github.com/ekstroem/networkr
R network analysis for families, citations and social networks
https://github.com/ekstroem/networkr
network-analysis network-visualization
Last synced: 11 months ago
JSON representation
R network analysis for families, citations and social networks
- Host: GitHub
- URL: https://github.com/ekstroem/networkr
- Owner: ekstroem
- Created: 2017-08-16T21:35:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-21T15:09:24.000Z (almost 6 years ago)
- Last Synced: 2024-10-15T04:11:59.814Z (over 1 year ago)
- Topics: network-analysis, network-visualization
- Language: R
- Homepage:
- Size: 73.2 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
Awesome Lists containing this project
README
# networkR
Development version of the R package **networkR**. This package
contains a collection of various semi-useful functions for network af family analysis.
To install the development version of **networkR** run the following
command from within R (this requires that the devtools package is
already installed on the system.)
```r
devtools::install_github('ekstroem/networkR')
```
(CRAN checks : [](https://travis-ci.org/ekstroem/networkR))
## Package overview
### Families
* `cluster_families` will identify clusters (families) based on information of ids, father ids and mother ids.
### Network analysis
* `adjacency`
* `hits`
### Formats
The `linkage` format for family data ...
The `trio` format that we use in this package is a reduced/restricted version
of the linkage format consisting of three *integer* (numeric) values for each individual:
* `id` - the id of the individual,
* `fid` - the id of the father,
* `mid` - the id of the mother.
For the `fid` and `mid` variables a 0 or `NA` represents no
information, and a person with nor information on father and mother id
is considered a founder. For consistency, an individual should not
have just a single parent missing.
Note that since we do not have a family indicator all id's should be uniques across all families.