inferGrandma: Calculate log-likelihood ratios to infer relationships

View source: R/inferGrandma.R

inferGrandmaR Documentation

Calculate log-likelihood ratios to infer relationships

Description

some more here

Usage

inferGrandma(
  gmaData,
  relationship = c("ssGP", "sP"),
  crossRecords = NULL,
  minLLR = 0,
  filterLLR = TRUE,
  MIexcludeProb = 1e-04
)

Arguments

gmaData

the gmaData object containing your baseline populations and potential descendents. This input is created by createGmaInput

relationship

the relationship you want to test for: "ssGP" - single sided grandparentage (a pair of either two maternal grandparents OR two paternal grandparents)

crossRecords

dataframe or matrix: column 1 is population, column 2 is individual 1 identifier, column 3 is individual 2 identifier

minLLR

the minimum LLR to include in the results. Only used if filterLLR is TRUE.

filterLLR

TRUE to filter results based on minLLR, FALSE to not.

MIexcludeProb

the maximum probability of exclusion for a true relationship due to Mendelian incompatibilities. If 0, then no filtering is performed based on Mendelian incompatibilities.

Details

and some more here


delomast/gRandma documentation built on March 8, 2024, 2:26 a.m.