EpivizEnvironment-class {epivizrChart} | R Documentation

## Data container for an Epiviz environment component.

### Description

Data container for an Epiviz environment component.

### Fields

`charts`

  List of class `EpivizViewComponent` used to track nested elements.

`interactive`

  Logical value of whether componenet is interactive with data source componenet..

`epiviz_ds`

  `EpivizDataSource` object for interactive documents.

### Methods

`add_data(...)`

  Add data to environment's data manager

  ...

    Arguments for add_measurements and register, e.g., data, datasource_name, datasource_obj_name, type, etc

`append_chart(chart)`

  Append chart or navigation to environment

`get_charts()`

  Get charts within environment

`get_component_type()`

  Get component type for prefix of random id generator

`get_measurements()`

  Get measurements

`get_name()`

  Get name of Epiviz Web Component

`get_rows(...)`

  Get row data from environment's data manager

`get_values(...)`

  Get value data from environment's data manager

`init_region(chr = NULL, start = NULL, end = NULL)`

  Initialize navigation based on a genomic region

  chr

    Chromosome

  start

    Start location

  end

    End location

`init_regions(regions)`

  Initialize navigations based on genomic regions

  regions

    List of named lists of genomic locations, e.g., list(list(chr='chr11', start=99800000, end=103383180))

`is_interactive()`

  Return whether the environment is interactive with a data source

`navigate(chr = NULL, start = NULL, end = NULL)`

  Navigate environment to genomic location

  chr

    Chromosome

  start

    Start location

  end

    End location

`order_charts(ordered_charts)`

  Order the charts within an environment

  charts

    An ordered list of EpivizViewComponent objects

`plot(...)`

  Plot an EpivizChart within the environment

  ...

    Arguments for epivizChart

`remove_all_charts()`

  Remove all charts from environment

`remove_chart(chart)`

  Remove chart from environment

`render_component()`

  Render to html

`set_charts(charts)`

  Set charts of environment

[Package epivizrChart version 1.2.0 Index]