Create and plot an interactive network that summarize how cell-types and their interactions are over-represented.
BuildNetwork(
object,
network_type = c("ORA_network"),
layout_type = c("bipartite", "conventional"),
abbreviation_table = NULL
)# S4 method for scDiffCom
BuildNetwork(
object,
network_type = c("ORA_network"),
layout_type = c("bipartite", "conventional"),
abbreviation_table = NULL
)
A visNetwork object.
scDiffCom
object
Type of network to display. Currently, only
ORA_network
(default) is supported.
Layout of the network to display. Can either be
"bipartite"
(default) or "conventional"
.
Table with abbreviations
for the cell types present in the object
. If NULL
(default),
full names of the cell-types are displayed. Otherwise, it must be a
data.frame or data.table with exactly two columns with names
ORIGINAL_CELLTYPE
and ABBR_CELLTYPE
.