Browsing: Workflow

base_g = ( graphistry .bind(source=”src”, destination=”dst”, node=”id”) .edges(edges_df) .nodes(nodes_df) .bind( edge=”edge_id”, edge_title=”edge_title”, edge_label=”edge_label”, edge_weight=”event_count”, edge_size=”edge_size”, point_title=”point_title”, point_label=”label”, point_color=”node_color”, point_size=”node_size”, point_x=”x”, point_y=”y” ) .settings(url_params={“play”: 0, “info”: “true”})…

class CellSignalingSimulationAgent: def run(self, df_signal: pd.DataFrame) -> AgentResult: peak_receptor = float(df_signal[“receptor_active”].max()) peak_kinase = float(df_signal[“kinase_active”].max()) peak_tf = float(df_signal[“tf_active”].max()) t_receptor = float(df_signal.loc[df_signal[“receptor_active”].idxmax(), “time”]) t_kinase = float(df_signal.loc[df_signal[“kinase_active”].idxmax(), “time”]) t_tf…