Filter nodes and/or edges.
sg_filter_gt_p(
proxy,
input,
var,
target = c("nodes", "edges", "both"),
name = NULL
)sg_filter_lt_p(
proxy,
input,
var,
target = c("nodes", "edges", "both"),
name = NULL
)
sg_filter_eq_p(
proxy,
input,
var,
target = c("nodes", "edges", "both"),
name = NULL
)
sg_filter_not_eq_p(
proxy,
input,
var,
target = c("nodes", "edges", "both"),
name = NULL
)
sg_filter_undo_p(proxy, name)
sg_filter_neighbours_p(proxy, node, name = NULL)
An object of class sigmajsProxy as returned by sigmajsProxy.
A Shiny input.
Variable to filter.
Target of filter, nodes, edges, or both.
Name of the filter, useful to undo the filter later on with sg_filter_undo.
Node id to filter neighbours.
The proxy object.
sg_filter_gt_p Filter greater than var.
sg_filter_lt_p Filter less than var.
sg_filter_eq_p Filter equal to var.
sg_filter_not_eq_p Filter not equal to var.
sg_filter_undo_p Undo filters, accepts vector of names.