A Biased Generic Random Walk Algorithm for Community Detection written in R
Umbrella is a package for R and RStudio, which aims to provide a means of obtaining accurate results for community detection tasks by applying a generic random walk algorithm onto a multitude of fields, regardless of subject.
It is possible to install this package using the following commands in R or RStudio:
Tested and verified under Fedora Workstation 31 (x86_64) / RStudio v1.2.5033.
install.packages('devtools', dependencies = TRUE)
library('devtools')
install_github("ultraviolet-1986/umbrella")
install.packages('umbrella', dependencies = TRUE)
Once this package has been installed, it can be loaded using:
library('umbrella')
Once the package has been installed and loaded, the following functions become available:
AnalyseData()
/ umbrella::AnalyseData()
If the given dataset is of an unknown type or derived from another network
library, this function will convert it to igraph
format.
help(AnalyseData)
for more information.ApplyRandomSeed()
/ umbrella::ApplyRandomSeed()
1
and 1,000,000
.Use help(ApplyRandomSeed)
for more information.
GenerateRandomNetwork()
/ umbrella::GenerateRandomNetwork()
umbrella_random_network.csv
within the current working directory. If this
file exists, it will be removed and re-written.Use help(GenerateRandomNetwork)
for more information.
RandomJourney()
/ umbrella::RandomJourney()
Use help(RandomJourney)
for more information.
RandomJourneyFoodweb()
/ umbrella::RandomJourneyFoodweb()
RandomJourney()
except it has been tuned for use with igraphdata
and
the foodwebs$gramwet
sub-network specifically.Use help(RandomJourneyFoodweb)
for more information.
RandomWalk()
/ umbrella::RandomWalk()
help(RandomWalk)
for more information.At present, these are the following packages which are required in order to use
umbrella
:
GGally
ipgraph
igraphdata
rstudioapi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.