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