:orphan: .. only available via index, not via toctree .. title:: Package Recipe 'r-rspectral' .. highlight: bash r-rspectral =========== .. conda:recipe:: r-rspectral :replaces_section_title: :noindex: Implements the network clustering algorithm described in Newman \(2006\) \. The complete iterative algorithm comprises of two steps. In the first step\, the network is expressed in terms of its leading eigenvalue and eigenvector and recursively partition into two communities. Partitioning occurs if the maximum positive eigenvalue is greater than the tolerance \(10e\-5\) for the current partition\, and if it results in a positive contribution to the Modularity. Given an initial separation using the leading eigen step\, \'rSpectral\' then continues to maximise for the change in Modularity using a fine\-tuning step \- or variate thereof. The first stage here is to find the node which\, when moved from one community to another\, gives the maximum change in Modularity. This node’s community is then fixed and we repeat the process until all nodes have been moved. The whole process is repeated from this new state until the change in the Modularity\, between the new and old state\, is less than the predefined tolerance. A slight variant of the fine\-tuning step\, which can improve speed of the calculation\, is also provided. Instead of moving each node into each community in turn\, we only consider moves of neighbouring nodes\, found in different communities\, to the community of the current node of interest. The two steps process is repeatedly applied to each new community found\, subdivided each community into two new communities\, until we are unable to find any division that results in a positive change in Modularity. :homepage: https://github.com/cmclean5/rSpectral :license: GPL2 / GPL-2 :recipe: /`r-rspectral `_/`meta.yaml `_ .. conda:package:: r-rspectral |downloads_r-rspectral| |docker_r-rspectral| :versions: ``1.0.0.14-1``,  ``1.0.0.14-0``,  ``1.0.0.10-3``,  ``1.0.0.10-2``,  ``1.0.0.10-1``,  ``1.0.0.10-0``,  ``1.0.0.9-0`` :depends on bioconductor-graph: ``>=1.88.1,<1.89.0a0`` :depends on libgcc: ``>=14`` :depends on libstdcxx: ``>=14`` :depends on r-base: ``>=4.5,<4.6.0a0`` :depends on r-igraph: :depends on r-rcpp: ``>=1.0.8.3`` :depends on r-rcpparmadillo: ``>=0.11.2.0.0`` :depends on r-rdpack: :additional platforms: Installation ------------ You need a conda-compatible package manager (currently either `pixi `__, `conda `__, or `micromamba `__) and the Bioconda channel already activated (see :ref:`bioconda_setup`). Below, we show how to install with either pixi or conda (for micromamba and mamba, commands are essentially the same as with conda). Pixi """" With pixi_ installed and the Bioconda channel set up (see :ref:`bioconda_setup`), to install globally, run:: pixi global install r-rspectral to add into an existing workspace instead, run:: pixi add r-rspectral In the latter case, make sure to first add bioconda and conda-forge to the channels considered by the workspace:: pixi workspace channel add conda-forge pixi workspace channel add bioconda Conda """"" With conda_ installed and the Bioconda channel set up (see :ref:`bioconda_setup`), to install into an existing and activated environment, run:: conda install r-rspectral Alternatively, to install into a new environment, run:: conda create -n envname r-rspectral with ``envname`` being the name of the desired environment. Container """"""""" Alternatively, every Bioconda package is available as a container image for usage with your preferred container runtime. For e.g. docker, run:: docker pull quay.io/biocontainers/r-rspectral: (see `r-rspectral/tags`_ for valid values for ````). Integrated deployment """"""""""""""""""""" Finally, note that many scientific workflow management systems directly integrate both conda and container based software deployment. Thus, workflow steps can be often directly annotated to use the package, leading to automatic deployment by the respective workflow management system, thereby improving reproducibility and transparency. Check the documentation of your workflow management system to find out about the integration. .. _conda: https://conda.io .. _pixi: https://pixi.sh .. |downloads_r-rspectral| image:: https://img.shields.io/conda/dn/bioconda/r-rspectral.svg?style=flat :target: https://anaconda.org/bioconda/r-rspectral :alt: (downloads) .. |docker_r-rspectral| image:: https://quay.io/repository/biocontainers/r-rspectral/status :target: https://quay.io/repository/biocontainers/r-rspectral .. _`r-rspectral/tags`: https://quay.io/repository/biocontainers/r-rspectral?tab=tags .. raw:: html Download stats ----------------- .. raw:: html :file: ../../templates/package_dashboard.html Link to this page ----------------- Render an |install-with-bioconda| badge with the following MarkDown:: [![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/r-rspectral/README.html) .. |install-with-bioconda| image:: https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat :target: http://bioconda.github.io/recipes/r-rspectral/README.html