make_id2keep {qtl2pleio}R Documentation

Identify shared subject ids among all inputs: covariates, allele probabilities array, kinship, and phenotypes

Description

We consider only those inputs that are not NULL. We then use 'intersect' on pairs of inputs' rownames to identify those subjects are shared among all non-NULL inputs.

Usage

make_id2keep(probs, pheno, addcovar = NULL, kinship = NULL)

Arguments

probs

an allele probabilities array

pheno

a phenotypes matrix

addcovar

a covariates matrix

kinship

a kinship matrix

Value

a character vector of subject IDs common to all (non-null) inputs


[Package qtl2pleio version 1.4.3 Index]