blant: The BLANT function

Description Usage Arguments Examples

View source: R/blant.R

Description

This function will return a table containing the sampling results


NOTE:

Before using this package, MAKE SURE you have a working Blant function installed

1. Nodes must be integers numbered 0 through n-1, inclusive.

2. Duplicates and self-loops should be removed before calling BLANT.

Usage

1
blant(filepath, mode, n, k, filename, connected, threads = -1)

Arguments

mode

–output Mode: o (ODV, the default); i (indexGraphlets); g (GDV); f (graphletFrequency)

n

– Sampling number

k

–The number of nodes in graphlets to be sampled

filename

–Graph must be in one of the following formats with its extension name: GML (.gml) GraphML (.xml) LGF(.lgf) CSV(.csv) LEDA(.leda) Edgelist (.el) .

connected

– if it is TRUE/T, blant function will return a table ONLY contains connected graphlets. Otherwise, it can contain both connected and disconnected graphlets.

filepath:

The path to your BLANT function

Examples

1
blant(filepath=..., mode="f", n=10000, k=5, filename="syeast.el", connected=T)

hanweny/BLANT documentation built on May 12, 2018, 12:50 a.m.