track_wiggle: Create a WiggleTrack for a custom JBrowse 2 view

View source: R/wiggle.R

track_wiggleR Documentation

Create a WiggleTrack for a custom JBrowse 2 view

Description

Creates the necessary configuration string for a bigWig file so that it can be used in a JBrowse custom linear genome view.

Usage

track_wiggle(track_data, assembly)

Arguments

track_data

the URL to the bigWig file

assembly

the config string generated by assembly

Value

a character vector of stringified WiggleTrack JSON configuration

Examples

track_wiggle(
  "https://jbrowse.org/genomes/hg19/COLO829/colo_normal.bw",
  assembly("https://jbrowse.org/genomes/hg19/fasta/hg19.fa.gz", bgzip = TRUE)
)

JBrowseR documentation built on June 8, 2023, 6:41 a.m.