generateSelection {metavizr} | R Documentation

## Method to select and set aggregation type to nodes in FacetZoom

### Description

Method to select and set aggregation type to nodes in FacetZoom

### Usage

    generateSelection(feature_names, aggregation_level, selection_type,
      feature_order = NULL)

### Arguments

`feature_names` | Selected Features
`aggregation_level` | Level in the hierarchy
`selection_type` | Expanded, aggregated, or removed
`feature_order` | Order of features at that level

### Value

A selection object for a metavizControl object to accept

### Examples

    generateSelection("Bacteroidales", 1L, 2L)

[Package metavizr version 1.12.0 Index]