Skip to content

visualize output  #6

Open
Open
@violacimatti

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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