distLRR: Find summary statistics of LRR

View source: R/distLRR.R

distLRRR Documentation

Find summary statistics of LRR

Description

Finds distribution of LRR depending on allele frequencies.

Usage

distLRR(
  adjust = TRUE,
  method = "PR",
  verbose = FALSE,
  nsim = 2,
  seed = NULL,
  log2 = FALSE,
  mutMod = "equal",
  rate = c(0.005, 0.005),
  rate2 = c(1e-06, 1e-06),
  range = c(0.1, 0.1),
  nAls = 4
)

Arguments

adjust

Logical. Transform to original mutation rate

method

Transformation. See 'pedmut::makeReversible()'

verbose

Logical.

nsim

integer.

seed

Integer

log2

Logical. To get LR on log2

mutMod

character.

rate

Double. See 'pedmut::muationModel()'.

rate2

Double. See 'pedmut::muationModel()'

range

Double. See 'pedmut::muationModel()'

nAls

Integer. No of alleles.

Details

The allele frequencies are simulated uniformly. The mutation parameters are simulated uniformly between provided minimum and maximum. The LRR distribution is then calculated exactlyusing 'oneMarkerDistribution()'. The simulations are conditional on PR not failing (PR fails rarely).#'

Value

Summary of distribution of LRR, with more details if 'verbose = T'

Author(s)

Thore Egeland

Examples

distLRR()


thoree/mut2 documentation built on June 11, 2025, 4:02 p.m.