Creates the necessary configuration string for a bigWig file so that it can be used in a JBrowse custom linear genome view.
track_wiggle(track_data, assembly)
the URL to the bigWig file
the config string generated by assembly
a character vector of stringified WiggleTrack JSON configuration
track_wiggle(
"https://jbrowse.org/genomes/hg19/COLO829/colo_normal.bw",
assembly("https://jbrowse.org/genomes/hg19/fasta/hg19.fa.gz", bgzip = TRUE)
)
#> [1] "{ \"type\": \"QuantitativeTrack\", \"name\": \"colo_normal\", \"assemblyNames\": [\"hg19\"], \"trackId\": \"hg19_colo_normal\", \"adapter\": { \"type\": \"BigWigAdapter\", \"bigWigLocation\": { \"uri\": \"https://jbrowse.org/genomes/hg19/COLO829/colo_normal.bw\" } } }"