Subset an input object - allele probabilities array or phenotypes matrix or covariates matrix. Kinship has its own subset function
Useful links