Skip to content

blank bed graph visualization  #154

@violacimatti

Description

@violacimatti

Hi, this is my code to visualize a bed graph:

import gosling as gos

data= gos.csv(
    url='/violacimatti/Desktop/gosling/finale10.bedgraph',
    headerNames=['chrom','start','end','value'],
    chromosomeField='chrom',
    genomicFields=['start','end'],
    separator='\t'
)

gos.Track(data).mark_line().encode(
    x=gos.X("start:G", axis="top"),
    y=gos.Y("value:Q", axis="none"),
).view()

The problem is that when I visualize it I get a blank visualization, and it's the same also by using different bed graphs files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions