R/utils.R
make_id2keep.Rd
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)
probs | an allele probabilities array |
---|---|
pheno | a phenotypes matrix |
addcovar | a covariates matrix |
kinship | a kinship matrix |
a character vector of subject IDs common to all (non-null) inputs