filter: Filter

Description Usage Arguments Value Functions

Description

Filter nodes and/or edges.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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)

Arguments

proxy

An object of class sigmajsProxy as returned by sigmajsProxy.

input

A Shiny input.

var

Variable to filter.

target

Target of filter, nodes, edges, or both.

name

Name of the filter, useful to undo the filter later on with sg_filter_undo.

node

Node id to filter neighbours.

Value

The proxy object.

Functions


JohnCoene/sigmajs documentation built on Feb. 1, 2021, 12:12 p.m.