Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

findRelated

Find related individuals in a relationship matrix


Description

Find related individuals in a relationship matrix.

Usage

findRelated(x, ...)

## S3 method for class 'matrix'
findRelated(x, cutoff = 0.03, ...)

## S3 method for class 'symDMatrix'
findRelated(x, cutoff = 0.03, verbose = FALSE,
  ...)

Arguments

x

A matrix-like object with dimnames.

...

Additional arguments for methods.

cutoff

The cutoff between 0 and 1 for related individuals to be included in the output. Defaults to 0.03.

verbose

Whether progress updates will be posted. Defaults to FALSE.

Value

A vector of names or indices of related individuals.

Methods (by class)

  • matrix: Find related individuals in matrices

  • symDMatrix: Find related individuals in symDMatrix objects

Examples

# Load example data
bg <- BGData:::loadExample()

G <- getG(geno(bg))
findRelated(G)

BGData

A Suite of Packages for Analysis of Big Genomic Data

v2.2.0
MIT + file LICENSE
Authors
Gustavo de los Campos [aut], Alexander Grueneberg [aut, cre], Paulino Perez [ctb], Ana Vazquez [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.