regvelo.plotting.regulatory_network¶
- regvelo.plotting.regulatory_network(motif, figsize=(4, 4), **kwargs)[source]¶
Visualize a gene regulatory network (GRN) from a DataFrame.
- Parameters:
motif (
DataFrame) – DataFrame with regulatory edges. Expected format:[regulator, target, sign], wheresignis1for activation and-1for inhibition.figsize (
tuple[int,int]) – Figure size for the plot. Default is(4, 4).**kwargs (
Any) –Additional optional parameters:
inhibition_color: color for inhibition edges.activation_color: color for activation edges.self_activation_color: color for self-activation nodes.self_inhibition_color: color for self-inhibition nodes.node_color: color for nodes.edge_color: color for edges.
- Return type:
- Returns:
: Nothing, just plots the figure.