| as.data.frame.cograph_motif_result | R Documentation |
Returns the tables held by a motif result from motifs or
subgraphs as tidy data frames.
## S3 method for class 'cograph_motif_result'
as.data.frame(
x,
row.names = NULL,
optional = FALSE,
...,
what = c("results", "types")
)
x |
A |
row.names, optional |
Standard |
... |
Unused. |
what |
Which table to return. |
A data.frame. For what = "results" in a census, the
columns are type and count, plus expected, z,
p and sig when significance was tested. For
subgraphs(), the columns are triad, node1,
node2, node3, type and observed, plus the
significance columns when tested. For what = "types", the columns
are type and count.
motifs, subgraphs
census <- motifs(regulation_net, significance = FALSE)
as.data.frame(census)
as.data.frame(census, what = "types")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.