项目作者: alextkalinka

项目描述 :
Tools for Generating, Visualising, and Analysing Link Communities in Networks
高级语言: R
项目地址: git://github.com/alextkalinka/linkcomm.git
创建时间: 2020-03-05T22:14:32Z
项目社区:https://github.com/alextkalinka/linkcomm

开源协议:

下载


linkcomm

CRAN status
metacran downloads
R build status
Lifecycle: stable

Summary

linkcomm is an R package that provides tools for generating, visualising, and analysing Link Communities in networks. See the companion paper for more information.

Installation

  1. install.packages("linkcomm")

Usage

  1. # Explore the in-built Les Miserables network:
  2. library(linkcomm)
  3. lm <- getLinkCommunities(lesmiserables)

  1. # Visualize the communities:
  2. plot(lm, type = "graph", layout = "spencer.circle")

  1. # Extract the nodes from the first community:
  2. n1 <- getNodesIn(lm, clusterids = 1)
  3. # Nodes shared by communities 10 and 11:
  4. ns <- get.shared.nodes(lm, comms = 10:11)
  5. # Node community centrality scores:
  6. nc <- getCommunityCentrality(lm)
  7. # Community connectedness scores:
  8. cc <- getCommunityConnectedness(lm)

References

Kalinka AT, Tomancak P (2011). “linkcomm: an R package for the generation, visualization, and analysis of link communities in networks of arbitrary size and type.” Bioinformatics, 27, 2011-2012.