obtainTextPosition | R Documentation |
Obtain text position in biofabric layout
obtainTextPosition(ig, sort.by = node_rank_fabric(), verbose = FALSE)
ig |
igraph |
sort.by |
the argument to be passed to fabric layout function |
verbose |
show logs |
The function obtains the horizontal text position for the plot in the 'biofabric' layout implemented in ggraph.
tbl_graph
testgenes <- c("IRF3","PNKP","DDX41","ERCC1","ERCC2","XRCC1")
getSlot(refseq(testgenes), "igraph") |> obtainTextPosition()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.