[7a0be0]: / man / twocol_edgelist.Rd

Download this file

39 lines (38 with data), 920 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/3-4.other_plot.R
\name{twocol_edgelist}
\alias{twocol_edgelist}
\title{Quick build a metanet from two columns table}
\usage{
twocol_edgelist(edgelist)
}
\arguments{
\item{edgelist}{two columns table (no elements exist in two columns at same time)}
}
\value{
metanet
}
\description{
Quick build a metanet from two columns table
}
\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))
}
\seealso{
Other plot:
\code{\link{as.ggig}()},
\code{\link{c_net_plot}()},
\code{\link{input_cytoscape}()},
\code{\link{input_gephi}()},
\code{\link{netD3plot}()},
\code{\link{olympic_rings_net}()},
\code{\link{plot.ggig}()},
\code{\link{venn_net}()}
}
\concept{plot}