
Get hypergraph data from MultiWayContacts object
Source:R/AllGenerics.R, R/getters-methods.R
hypergraphData.RdRetrieves the selected or tidied hypergraph data from a MultiWayContacts
object.
Value
A data.frame containing hypergraph data in long format, or NULL if the requested data has not been computed yet.
Examples
if (FALSE) { # \dontrun{
mc <- MultiWayContacts("sample.pairs.gz") |>
import() |>
build(bin_size = 1e6, min_multiway = 3) |>
tidy(max_hyperedges = 100) |>
select(n = 50)
# Get selected hyperedges for plotting
df <- hypergraphData(mc, "selected")
# Get full tidied data for analysis
df_full <- hypergraphData(mc, "tidied")
} # }