twocol_edgelist {MetaNet}R Documentation

Quick build a metanet from two columns table

Description

Quick build a metanet from two columns table

Usage

twocol_edgelist(edgelist)

Arguments

edgelist

two columns table (no elements exist in two columns at same time)

Value

metanet

See Also

Other plot: as.ggig(), c_net_plot(), input_gephi(), netD3plot(), olympic_rings_net(), plot.ggig(), venn_net()

Examples

twocol <- data.frame(
  "col1" = sample(letters, 30, replace = TRUE),
  "col2" = sample(c("A", "B"), 30, replace = TRUE)
)
twocol_net <- twocol_edgelist(twocol)
plot(twocol_net)
c_net_plot(twocol_net, g_layout_polygon(twocol_net))

[Package MetaNet version 0.1.2 Index]