Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

filter

Filter


Description

Filter nodes and/or edges.

Usage

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

  • 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.


sigmajs

Interface to 'Sigma.js' Graph Visualization Library

v0.1.5
MIT + file LICENSE
Authors
John Coene [aut, cre, cph] (<https://orcid.org/0000-0002-6637-4107>)
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.