Gos(R)ling visualization #1048
Unanswered
violacimatti
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm currently using Gosling in R and the following is my actual code:
`library(gosling)
data <- gos$bigwig(
url = "https://s3.amazonaws.com/gosling-lang.org/data/ExcitatoryNeurons-insertions_bin100_RIPnorm.bw",
column = "position",
value = "peak"
)
track <- gos$Track(data, height = 100)$mark_area()$encode(
x = gos$X("position:G"),
y = gos$Y("peak:Q"),
color= gos$value('blue')
)
track$view()`
If I take the output of track$view() and copy and paste it in a html, then when I open the html I can see the visualization and everything works.
However, I wanted to ask if there was a way, like some commands, to directly save the html output in an html file instead of having to copy and paste. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions