Title Internal Function used to extact input needed from graph input for liability estimation
extract_estimation_info_graph(cur_fam_graph, cur_fid, h2, pid, add_ind = TRUE)
list with two elements: tbl (tibble with all relevant information) and cov (covariance matrix) estimated through graph_based_covariance_construction()
neightbourhood graph of degree n around proband
proband ID
heritability value from estimate_liability
Name of column of personal ID
Whether the genetic liability be added. Default is TRUE.