causal_networkx.algorithms.admg2pag# causal_networkx.algorithms.admg2pag(graph)[source]# Convert an ADMG to a PAG. Runs the FCI algorithm with an Oracle to obtain the PAG. This is useful to obtain the best possible PAG one can obtain for a certain graph using data. Parameters: graph : ADMG The causal ADMG. Returns: pag : PAG The oracle PAG. :rtype:py:class:PAG