Giter Site home page Giter Site logo

colonelcthulu / cliquer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jtliso/cliquer

0.0 1.0 0.0 1.22 MB

R Library used to calculate Maximal Cliques, Maximal Cliques, and Paracliques for graphs

License: GNU General Public License v2.0

C 10.40% C++ 87.86% R 1.74%

cliquer's Introduction

cliqueR

R Library used to calculate Maximal Cliques, Maximum Cliques, and Paracliques for graphs

Examples

Load the package.

library(cliqueR)

There are three different function calls, each with their own set of parameters:

  • Maximal
  • Maximum
  • Paraclique

Maximal

To find the maximal clique, you need the file name at a bare minimum. The other parameters are the following:

  • least: Lower bound of clique size to include. (a value less than 3 will simply return every edge in the graph).
  • most: Upper bound of clique size to include.
  • profile: Option to return a clique profile instead of all cliques. By default, these values are 3, -1, and 0 respectively.

Example calls:

cliqueR.maximal("inst/extdata/bio-yeast.el")
cliqueR.maximal("inst/extdata/bio-yeast.el", 5)

Maximum

To find the maximum clique, you need the file name at a bare minimum. It also has an optional second parameter called sizeOnly which defaults to FALSE. This option allows the user to return the size of the maximum clique.

Example calls:

cliqueR.maximum("inst/extdata/bio-yeast.el")
cliqueR.maximum("inst/extdata/bio-yeast.el", TRUE)

Paraclique

Paraclique returns a list of paracliques ordered by size. At a minimum, the file name is required as the first parameter. It also has the following additional parameters:

  • igf: Glom Factor, initialized to 1.0.
  • min_mc_size: The minimum clique size to include. Initialized to 5.
  • min_pc_size: The minimum paraclique size to include. Initialzed to 5.
  • max_num_pcs: Max number of paracliques to include. Initialized to -1.

cliquer's People

Contributors

ahranov1 avatar jtliso avatar kublasean avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.