distLRR | R Documentation |
Finds distribution of LRR depending on allele frequencies.
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
)
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. |
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).#'
Summary of distribution of LRR, with more details if 'verbose = T'
Thore Egeland
distLRR()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.