Skip to content

BristolMyersSquibb/blockr.dock

Repository files navigation

blockr.dock

lifecycle status coverage

A docking layout manager provided by dockViewR can be used as front-end to a blockr board using this package.

Installation

You can install the development version of blockr.dock from GitHub with:

# install.packages("pak")
pak::pak("BristolMyersSquibb/blockr.dock")

Example

To start up a board for visualizing Sepal.Length against Sepal.Width for the iris dataset, we can run

library(blockr.dock)
library(blockr.core)

serve(
  new_dock_board(
    blocks = c(
      a = new_dataset_block("iris"),
      b = new_scatter_block(x = "Sepal.Length", y = "Sepal.Width")
    ),
    links = list(from = "a", to = "b", input = "data"),
    extensions = list(edit = new_edit_board_extension()),
    layout = list("edit", list("a", "b"))
  )
)

This is a read-only view of this board, as no blocks can be added or removed and block connectivity cannot be changed. We can however change parameters for the input data and visualization.

About

Docking layout manager for blockr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •