Extract subset from plot-ready list
subset_plot_df(x, sub_var, sub_val, keep_edges = c("all", "within", "none"))
list of data.tables to subset (generated by igraph_plot_prep)
variable to subset on; either a logical vector or a character string
value to subset on
what edges to keep
if sub_var
is a logical vector, it has to be of the same length as the number of rows in x$vertices
. If sub_var
is a string, it has to be equal a column in x$vertices
.