Interactive data editor

data_editor(
  x,
  title = "Data Editor",
  type = "editor",
  options = NULL,
  save_as = NULL,
  viewer = TRUE,
  logo = "CytoExploreR"
)

Arguments

x

object of class matrix or data.frame with colnames specified.

title

title to include in above the table.

type

can be either "editor", "menu" or "selector", set to "editor" by default. The editor option allows complete editing of the data_matrix with text input. The menu option converts the entries in the last column to checkboxes for logical inputs. The selector option converts entries in the last column to dropdown menus that contain choices supplied to the options argument.

options

vector of options to use in dropdown menus in the last column.

save_as

name of a csv file to which the edited table should be saved.

viewer

logical indicating whether the table editor should be launched in the RStudio viewer pane, set to TRUE by default. Make sure to use the "Save & Close" to close the data editor or else the changes will not be saved.

logo

path to image to include a logo in data editor title panel, set to CytoExploreR by default.

Author

Dillon Hammill, Dillon.Hammill@anu.edu.au