mschauer / CausalInference.jl

Causal inference, graphical models and structure learning in Julia
https://mschauer.github.io/CausalInference.jl/latest/
Other
189 stars 24 forks source link

Plot pc graph #27

Closed schnirz closed 4 years ago

schnirz commented 4 years ago

implemented a function that plots the output of the PC algorithm using the TikzGraphs module

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-2.1%) to 88.669% when pulling 47949377934bf5d5e25b6af500a508e0fb2108bf on plot_pc_graph into 6ce5a918e6004067553e6a9f82f2e0be345f1a83 on master.

mschauer commented 4 years ago

We should allow a vector of strings for the labels too.

schnirz commented 4 years ago

Good point. It might make more sense to allow a vector of strings to be optionally passed as node labels, rather than the full table.

schnirz commented 4 years ago

changed the arguments of plot_pc_graph to accept an optional string of node labels instead of a dataframe/table.