Skip to contents

Generic visual channel builder

Usage

visual_channel(field = NULL, type = NULL, range = NULL, domain = NULL, ...)

Arguments

field

A character. Name of the data field.

type

A character. Must be "genomic". Specify the data type.

range

A vector of characters or numbers. Values of the visual channel.

domain

A vector of characters or numbers. Values of the data.

...

Any other parameters to pass to gosling.js.

Value

List object.

Details

For more info visit http://gosling-lang.org/docs/visual-channel#encode-a-visual-channel