View source: R/run_clustering.R
run_clustering | R Documentation |
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
).
run_clustering(
ppi,
method = c("FC", "RW", "ML", "clp", "MCL"),
expan = 2,
infla = 5,
iter = 50
)
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:
|
expan |
Numeric value > 1 for the expansion parameter.
See |
infla |
Numeric value > 0 for the inflation power coefficient.
See |
iter |
An integer, the maximum number of iterations for the MCL.
See |
run_clustering
A data.frame with the enrichment analysis results.
Matineh Rahmatbakhsh, matinerb.94@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.