Learn R Programming

biclique (version 1.0.5)

bi.clique: Biclique enumeration

Description

This function will compute the bicliques and output the statistics of these bicliques. If you want to get bicliques above a threshold, you can change the values of lleast and rleast. The input file should be tab delimited with number of vertices and edges at the head of the input file. If your input file does not have these values, you can use function bi.format to add these values to it. This package supports edgelist and binary matrix file format. Two versions of algorithms are implemented in this function, you can choose either one to get bicliques.

Usage

bi.clique(
  filename,
  left_least = 1,
  right_least = 1,
  version = 1,
  filetype = 0,
  getclique = 1,
  envir = .GlobalEnv$.bienv
)

Arguments

filename

Input file name

left_least

Least number of left partite <default = 1>

right_least

Least number of right partite <default = 1>

version

Algorithm version <default = 1> [1|2]

filetype

Input file format <default = 0>. 0-edge list, 1-binary matrix.

getclique

Get bicliques <default = 1>. If you set it to 0. you'll only get the statistics without bicliques.

envir

biclique environment

Examples

Run this code
# NOT RUN {
bicliques = bi.clique(system.file("extdata", "example1.el", package = "biclique"))
bicliques = bi.clique(system.file("extdata", "example1.el", package = "biclique"), 3, 2)
bicliques = bi.clique(system.file("extdata", "example4.bmat", package = "biclique"), filetype = 1)
# check a biclique
bicliques$biclique1

# }

Run the code above in your browser using DataLab