pcrelateReadKinship
is used to create a table of pairwise kinship coefficient and IBD sharing probability (k0, k1, k2) estimates from the output of pcrelate
.pcrelateReadKinship(pcrelObj, scan.include = NULL, ibd.probs = TRUE, kin.thresh = NULL)
pcrelate
. This could be a list of class pcrelate
or an object of class gds.class
read into R
using the function openfn.gds
from the gdsfmt
package.pcrelObj
.pcrelObj
has estimates of IBD sharing probabilities.kin.thresh
will be included in the table. The default is NULL, which includes all pairs.pcrelate
for the function that performs PC-Relate.
pcrelateReadInbreed
for the function that creates a table of inbreeding coefficient estimates from the same PC-Relate output file.
pcrelateMakeGRM
for the function that creates a genetic relationship matrix (GRM) of pairwise kinship coefficient estimates from the same PC-Relate output file.