Edge table of a HON comparison
Usage
# S3 method for class 'net_hon_compare'
hg_get(x, what = "edges", ..., significant = FALSE, sort_by = NULL, top = NULL)Arguments
- x
A
net_hon_compareobject fromhg_compare().- what
"edges", the only table: one row per pooled rule edge.- ...
Additional arguments (ignored).
- significant
Logical.
TRUErestricts to edges whose adjusted p-value falls below the object'salpha. DefaultFALSE(all edges).- sort_by
NULL(order/from/to, default),"abs_diff","count", or"p_adj"- sort by absolute difference or count (largest first) or adjusted p-value (smallest first), ties broken by from/to.- top
Integer or
NULL. Return only the firsttoprows, applied after any filter and aftersort_by, sosort_byandtopcompose. DefaultNULLreturns every row.
Value
A data.frame, one row per pooled rule edge (see
hg_compare() for the columns).