Skip to content

Adjusted .html could not be saved in .pdf #124

@XuJahcenia

Description

@XuJahcenia

I draw a sankey plot in R:

p <- sankeyNetwork(Links = links, Nodes = nodes, Source = "SourceID", #sourceID Target = "TargetID", #targetID Value = "value", NodeID = "name", colourScale=my_color, #nodePadding = 20, LinkGroup = 'subtype', fontFamily = "arial", fontSize = 15, nodeWidth = 40, sinksRight = F, height = 400, width = 550)

And the position of the nodes in the graph can be adjusted manually.
But I saved this graph by webshot2::webshot, but those adjustment cannot be saved.

saveNetwork(p,"m6A_type_OS.html")
webshot("m6A_type_OS.html" , "m6A_type_OS.pdf")

Can somebody give me some advice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions