pcrelateMakeGRM {GENESIS} | R Documentation |
pcrelateMakeGRM
is used to create a genetic relationship matrix (GRM) of pairwise kinship coefficient estimates from the output of pcrelate
.
pcrelateMakeGRM(pcrelObj, scan.include = NULL, scaleKin = 2)
pcrelObj |
The object containing the output from |
scan.include |
A vector of IDs for samples to be included in the GRM. The default is NULL, which includes all samples in |
scaleKin |
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 pcrelate
.
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.