f.create.missingness.matrix: Create family matrix of data missingness

View source: R/f.create.missingness.matrix.R

f.create.missingness.matrixR Documentation

Create family matrix of data missingness

Description

Help function that checks the family structure, based on IDs and provided data in .ped file, and then creates a matrix with families, where each indiv. has TRUE/FALSE value, depending on whether they have or not genetic data.

Usage

f.create.missingness.matrix(
  data.in = stop("No data given!", call. = FALSE),
  new.ids = stop("No IDs given", call. = FALSE)
)

Arguments

data.in

The data object (in format as the output of genDataRead); note that the design of the data is assumed to be triad.

new.ids

A list with pedIndex and ids, as generated by f.check.unique.ids.

Value

A matrix where each member of the family has TRUE or FALSE (whether they have any genetic data)


Haplin documentation built on Sept. 11, 2024, 7:13 p.m.