obtainTextPosition: obtainTextPosition

View source: R/utils.R

obtainTextPositionR Documentation

obtainTextPosition

Description

Obtain text position in biofabric layout

Usage

obtainTextPosition(ig, sort.by = node_rank_fabric(), verbose = FALSE)

Arguments

ig

igraph

sort.by

the argument to be passed to fabric layout function

verbose

show logs

Details

The function obtains the horizontal text position for the plot in the 'biofabric' layout implemented in ggraph.

Value

tbl_graph

Examples

testgenes <- c("IRF3","PNKP","DDX41","ERCC1","ERCC2","XRCC1")
getSlot(refseq(testgenes), "igraph") |> obtainTextPosition()

noriakis/wcGeneSummary documentation built on May 31, 2024, 4:42 p.m.