Description Usage Arguments Value Examples
An inputted matrix or 3-dimensional array is first subsetted - by rownames - to remove those subjects who are not in ‘id2keep'. After that, the object’s rows are ordered to match the ordering of subject ids in the vector 'id2keep'. This (possibly reordered) object is returned.
1 | subset_input(input, id2keep)
|
input |
a matrix of either phenotypes or covariates or array of allele probabilities |
id2keep |
a character vector of subject ids to identify those subjects that are shared by all inputs |
an object resulting from subsetting of 'input'. Its rows are ordered per 'id2keep'
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.