Build a pie graph object from a data frame
Arguments
- df
Data frame. Edge list with columns
from,to, and optionallyweight. Ifweightis absent, an unweighted graph is constructed.- node_annotation
Data Frame The annotation file of nodes in network
- directed
Logical (default:
FALSE). Whether edges between nodes are directed.- seed
Integer (default = 1115). Random seed for reproducibility.
