memIM2cnet | R Documentation |
Convert MultiEnrichment incidence matrix to Cnet plot
memIM2cnet(
memIM,
categoryShape = c("pie", "coloredrectangle", "circle", "ellipse"),
geneShape = c("pie", "coloredrectangle", "circle", "ellipse"),
categoryColor = "#E5C494",
geneColor = "#B3B3B3",
categoryLabelColor = "darkblue",
geneLabelColor = "grey25",
categorySize = 6,
geneSize = 3,
categoryCex = 0.8,
geneCex = 0.5,
frame_darkFactor = NULL,
geneIM = NULL,
geneIMcolors = NULL,
geneIMdirection = NULL,
enrichIM = NULL,
enrichIMcolors = NULL,
enrichIMdirection = NULL,
coloredrect_nrow = 1,
coloredrect_ncol = NULL,
coloredrect_byrow = TRUE,
colorV = NULL,
direction_col = colorjam::col_div_xf(1.2),
hide_solo_pie = TRUE,
remove_blanks = TRUE,
spread_labels = FALSE,
repulse = 3.5,
verbose = FALSE,
...
)
mem2cnet(
memIM,
categoryShape = c("pie", "coloredrectangle", "circle", "ellipse"),
geneShape = c("pie", "coloredrectangle", "circle", "ellipse"),
categoryColor = "#E5C494",
geneColor = "#B3B3B3",
categoryLabelColor = "darkblue",
geneLabelColor = "grey25",
categorySize = 6,
geneSize = 3,
categoryCex = 0.8,
geneCex = 0.5,
frame_darkFactor = NULL,
geneIM = NULL,
geneIMcolors = NULL,
geneIMdirection = NULL,
enrichIM = NULL,
enrichIMcolors = NULL,
enrichIMdirection = NULL,
coloredrect_nrow = 1,
coloredrect_ncol = NULL,
coloredrect_byrow = TRUE,
colorV = NULL,
direction_col = colorjam::col_div_xf(1.2),
hide_solo_pie = TRUE,
remove_blanks = TRUE,
spread_labels = FALSE,
repulse = 3.5,
verbose = FALSE,
...
)
memIM |
|
categoryShape , geneShape |
|
categoryColor , geneColor |
|
categoryLabelColor , geneLabelColor |
|
categorySize , geneSize |
|
categoryCex , geneCex |
|
frame_darkFactor |
|
geneIM , geneIMcolors , geneIMdirection , enrichIM , enrichIMcolors , enrichIMdirection |
|
coloredrect_nrow , coloredrect_ncol , coloredrect_byrow |
arguments
used when |
colorV |
|
remove_blanks |
|
spread_labels |
|
verbose |
|
... |
additional arguments are passed to downstream functions:
|
This function takes list
output from multiEnrichMap()
and uses three elements to create a Cnet plot:
"memIM"
gene-pathway incidence matrix
"geneIM"
the gene incidence matrix
"enrichIM"
the pathway enrichment matrix
igraph
object with Concept network data, containing
pathways connected to genes. Each node has attribute "nodeType"
of either "Set"
or "Gene"
.
Other jam igraph functions:
cnet2df()
,
cnet2im()
,
cnetplotJam()
,
cnetplot_internalJam()
,
color_edges_by_nodegroups()
,
color_edges_by_nodes_deprecated()
,
color_edges_by_nodes()
,
color_nodes_by_nodegroups()
,
communities2nodegroups()
,
drawEllipse()
,
edge_bundle_bipartite()
,
edge_bundle_nodegroups()
,
enrichMapJam()
,
fixSetLabels()
,
flip_edges()
,
get_bipartite_nodeset()
,
igraph2pieGraph()
,
jam_igraph()
,
jam_plot_igraph()
,
label_communities()
,
layout_with_qfrf()
,
layout_with_qfr()
,
mem2emap()
,
mem_multienrichplot()
,
nodegroups2communities()
,
rectifyPiegraph()
,
relayout_with_qfr()
,
removeIgraphBlanks()
,
removeIgraphSinglets()
,
reorderIgraphNodes()
,
rotate_igraph_layout()
,
spread_igraph_labels()
,
subgraph_jam()
,
subsetCnetIgraph()
,
subset_igraph_components()
,
sync_igraph_communities()
,
with_qfr()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.