asBipartite: asBipartite()

Description Usage Arguments

Description

asBipartite() splits an edgelist into a strictly bipartite graph around a specified metadata category requires novel.net$edge.df and net.igr from Network() Steps: 1) divide character uniqnames around metadata category using net.igr 2) create sub-edgelist of only bipartite edges from edge.df this step will find edges with exactly one element from one of the metadata categories 3) outputs bipartite igraph

Usage

1
2
asBipartite(net.igr = net.igr, part.by = NA, summary.table = TRUE,
  vertex.colors = NA)

Arguments

net.igr

An igraph network.

part.by

A metadata category (i.e. gender) by which to split the network into a strictly bipartite graph.

summary.table

Default = TRUE. Returns a data frame, summarizing edges across the bipartite graph.

vertex.colors

Default = NA. A length-two vector of colors. Default == c("Gold", "Tomato").


seanrsilver/novnet documentation built on June 19, 2019, 12:44 a.m.