Creates a Genetic Relationship Matrix (GRM) of Pairwise Kinship Coefficient Estimates from PC-Relate Output
pcrelateMakeGRM is used to create a genetic relationship matrix (GRM) of pairwise kinship coefficient estimates from the output of
The object containing the output from
A vector of IDs for samples to be included in the GRM. The default is NULL, which includes all samples in
Specifies a numeric constant to scale each estimated kinship coefficient by in the GRM. The default value is 2.
This function provides a quick and easy way to construct a genetic relationship matrix (GRM) from the output of
Matthew P. Conomos
Conomos M.P., Reiner A.P., Weir B.S., & Thornton T.A. (2016). Model-free Estimation of Recent Genetic Relatedness. American Journal of Human Genetics, 98(1), 127-148.
pcrelate for the function that performs PC-Relate.
pcrelateReadKinship for the function that creates a table of pairwise kinship coefficient and IBD sharing probabilities from the same PC-Relate output file.
pcrelateReadInbreed for the function that creates a table of inbreeding coefficient estimates from the same PC-Relate output file.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.