Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.0%) to scientific vocabulary
Keywords
Repository
Network-based clustering
Statistics
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
clustNet: Network-based clustering with covariate adjustment
clustNet is an R package for network-based clustering of categorical data using a Bayesian network mixture model and optional covariate adjustment.
Installation
The package requires Rgraphviz and RBGL, which can be installed from Bioconductor as follows:
{r eval=FALSE}
if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager")
BiocManager::install(c("Rgraphviz", "RBGL"))
The latest stable version of clustNet is available on CRAN and can be installed with
{r eval=FALSE}
install.packages("clustNet")
from within an R session. On a normal computer, this should take around 5-60 seconds, depending on how many of the required packages are already installed.
BiocManager::install("remotes")
Being hosted on GitHub, it is also possible to use the install_github tool from an R session to install the latest development version:
{r eval=FALSE}
library("devtools")
install_github("cbg-ethz/clustNet")
clustNet requires R >= 3.5.
Example
```{r eval=FALSE} library(clustNet)
Simulate data
kclust <- 3 # numer of clusters ss <- c(400, 500, 600) # samples in each cluster simulationdata <- sampleData(kclust = kclust, nvars = 20, nsamples = ss) sampleddata <- simulationdata$sampled_data
Network-based clustering
clusterresults <- getclusters(sampleddata, kclust = k_clust)
Load additional pacakges to visualize the networks
library(ggplot2) library(ggraph) library(igraph) library(ggpubr)
Visualize networks
plotclusters(clusterresults)
Load additional pacakges to create a 2d dimensionality reduction
library(car) library(ks) library(graphics) library(stats)
Plot a 2d dimensionality reduction
densityplot(clusterresults)
```
On a normal computer, the clustering should take around 2-4 minutes.
Owner
- Name: Computational Biology Group (CBG)
- Login: cbg-ethz
- Kind: organization
- Location: Basel, Switzerland
- Website: https://www.bsse.ethz.ch/cbg
- Twitter: cbg_ethz
- Repositories: 91
- Profile: https://github.com/cbg-ethz
Beerenwinkel Lab at ETH Zurich
GitHub Events
Total
- Watch event: 4
Last Year
- Watch event: 4
Committers
Last synced: 10 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| PhysFritz | f****r@y****m | 165 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- fritzbayer (1)