run_clustering: Module Detection

View source: R/run_clustering.R

run_clusteringR Documentation

Module Detection

Description

This function contains five module detection algorithms including fast-greedy algorithm (FC), walktrap algorithm (RW), multi-level community algorithm (ML), label propagation algorithm (clp), and markov clustering (MCL).

Usage

run_clustering(
  ppi,
  method = c("FC", "RW", "ML", "clp", "MCL"),
  expan = 2,
  infla = 5,
  iter = 50
)

Arguments

ppi

A data.frame containing pathogen proteins in the first column,host proteins in the second column, and edge weight in the third column.

method

Module detection algorithms including:

  • FC - fast-greedy algorithm.

  • RW - walktrap algorithm.

  • ML - multi-level community algorithm.

  • clp - label propagation algorithm.

  • MCL - markov clustering.

expan

Numeric value > 1 for the expansion parameter. See mcl for more details.

infla

Numeric value > 0 for the inflation power coefficient. See mcl for more details.

iter

An integer, the maximum number of iterations for the MCL. See mcl for more details.

Details

run_clustering

Value

A data.frame with the enrichment analysis results.

Author(s)

Matineh Rahmatbakhsh, matinerb.94@gmail.com


mrbakhsh/HPiP documentation built on March 28, 2023, 4:35 p.m.