motif_summary: Summary for motif counts and Erdős-Rényi distribution

Description Usage Arguments Value Examples

View source: R/count_motifs.R

Description

Returns a data frame with counts and statistical properties (expectation, variances) of six selected motifs in the given network. Note that this function implicitly assumes that the network is undirected, cf. motifr::to_py_graph.

Usage

1
motif_summary(net, lvl_attr = c("sesType"))

Arguments

net

network object

lvl_attr

character vector specifying the attribute name where level information is stored in net.

Value

dataframe with motif counts, expectations and variances for set of selected motifs

Examples

1
2
3
4
## Not run: 
motif_summary(ml_net)

## End(Not run)

motifr documentation built on Dec. 15, 2020, 5:23 p.m.