is_MAG: Check if a graph is maximal and ancestral

View source: R/arid.R

is_MAGR Documentation

Check if a graph is maximal and ancestral

Description

Check if a graph is maximal and ancestral

Usage

is_MAG(graph, directed = FALSE, .top_ord = FALSE)

Arguments

graph

an object of class mixedgraph

directed

logical: should this be a directed MAG?

.top_ord

logical: if computed by ancestral should topological order be returned?

Details

Checks edge types, and then runs is_ancestral and is_maximal, reports the success of both or the failure of either.


rje42/ADMGs2 documentation built on Sept. 3, 2024, 7:39 p.m.