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.

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