Count cycle triangles across Monte Carlo graph simulations
Source:R/Monte_Carlo_Method.R
countCycleTriangles.RdCount cycle triangles across Monte Carlo graph simulations
Arguments
- Dcell
Cell-type abundance vector for one patient.
- Dconn
Ligand-receptor probability matrix for one patient.
- lig
Cell-by-ligand compatibility matrix.
- rec
Cell-by-receptor compatibility matrix.
- cellnames
Character vector of cell-type names.
- N
Number of cells per simulated graph.
- av
Target average degree.
- itNo
Number of Monte Carlo iterations.