blank visualization #1046
Unanswered
violacimatti
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Thank you for reaching out! The code looks good to me, and if I replace the URL with the one we have on gosling.js.org, it shows the visualization: (Note that I replaced the last line (
Have you tried to open the |
Beta Was this translation helpful? Give feedback.
2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have a .bw file of which I would like to visualize the mark bar, however, following also the tutorials, I always get a blank graph.
The following is the code:
`import gosling as gos
data = gos.bigwig(
url='/Users/violacimatti/Desktop/gosling/MB110_H3K27me3.bw',
column='position',
value='peak',
binSize=8
)
track = gos.Track(data).mark_bar().encode(
x='position:G',
y='peak:Q',
size=gos.value(20),
color=gos.value('blue')
).properties(width=725, height=180, layout='linear')
vis = track.view(title='group 4')
vis.save('group4.html')
`
Beta Was this translation helpful? Give feedback.
All reactions