align_ids {plmmr}R Documentation

A helper function to support process_plink()

Description

A helper function to support process_plink()

Usage

align_ids(id_var, quiet, add_predictor, og_ids)

Arguments

id_var

String specifying the variable name of the ID column

quiet

Logical: should a message be printed?

add_predictor

External data to include in design matrix. This is the add_predictors... arg in process_plink()

og_ids

Character vector with the PLINK ids (FID or IID) from the original data (i.e., the data before any subsetting from handling missing phenotypes)

Value

A matrix with the same dimensions as add_predictor


[Package plmmr version 4.1.0 Index]