
Find related individuals in a relationship matrix.
findRelated(x, ...)# S3 method for matrix
findRelated(x, cutoff = 0.03, ...)
# S3 method for symDMatrix
findRelated(x, cutoff = 0.03, verbose = FALSE,
...)
A vector of names or indices of related individuals.
A matrix-like object with dimnames.
Additional arguments for methods.
The cutoff between 0 and 1 for related individuals to be included in the output. Defaults to 0.03.
Whether progress updates will be posted. Defaults to FALSE
.
matrix
: Find related individuals in matrices
symDMatrix
: Find related individuals in symDMatrix objects
# Load example data
bg <- BGData:::loadExample()
G <- getG(geno(bg))
findRelated(G)
Run the code above in your browser using DataLab