plot_biofabric | R Documentation |
Plot the network in biofabric layout.
plot_biofabric(
res,
sort.by = node_rank_fabric(),
size = "rank",
end_shape = "circle",
color_map = NULL,
highlight = NULL,
highlight_color = "tomato",
textScaleRange = c(1.5, 2)
)
res |
biotext object |
sort.by |
passed to fabric layout |
size |
mapping to use for size of text on x-axis default to "rank", which uses default ordering, other accepted options are those in the node table of tbl_graph object |
end_shape |
end shape on 'geom_edge_span' |
color_map |
passed to aes mapping in geom_node_range. Override 'highlight' option. |
highlight |
which category to highlight, default to NULL |
highlight_color |
highlight color of the category |
textScaleRange |
decide text scale range on x-axis |
Plot the network in biofabric layout. Internally, obtainTextPosition() is used and the layers are stacked. For BioFabric layout, please refer to: https://biofabric.systemsbiology.net/ Citation is: https://doi.org/10.1186/1471-2105-13-275
ggplot2
testgenes <- c("IRF3","PNKP","DDX41","ERCC1","ERCC2","XRCC1")
refseq(testgenes) |> plot_biofabric()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.