model_matrix_from_ID: Produce SDP mapping matrix from SDP string

View source: R/sim_mediation.R

model_matrix_from_IDR Documentation

Produce SDP mapping matrix from SDP string

Description

This function takes an SDP string, i.e., "0,0,0,0,1,1,1,1", and converts it into the a matrix that maps the eight allele haplotype design matrix to < eight functional allele design matrix.

Usage

model_matrix_from_ID(M_ID)

Arguments

M_ID

SDP string. Example is "0,0,0,0,1,1,1,1", which represent two functional alleles evenly distributed across the eight founder strains.

Examples

model_matrix_from_ID()

wesleycrouse/bmediatR documentation built on April 28, 2023, 4:01 p.m.