sFLB | R Documentation |
Computes the shared Bayes factor for co-segregation, assuming autosomal dominant inheritance and a single introduction of the variant.
sFLB(
x,
carriers = NULL,
noncarriers = NULL,
affected = NULL,
unknown = NULL,
penetrances = NULL,
liability = NULL,
...
)
x |
A |
carriers |
A character vector (or coercible to such), containing the ID labels of pedigree members known to carry one copy of the variant in question. |
noncarriers |
A character vector (or coercible to such), containing the ID labels of pedigree members known not to carry the variant in question. |
affected |
The affected pedigree members. |
unknown |
Pedigree members with unknown affection status. |
penetrances |
A numeric vector of length 3 |
liability |
A vector of length |
... |
Further parameters. |
A positive number, the sFLB score.
Ratajska A, Vigeland MD, Wirgenes KV, et al. The use of segregation analysis in interpretation of sequence variants in SMAD3: A case report. Mol Genet Genomic Med, 2023. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1002/mgg3.2107")}.
### Case 1
x = halfSibPed(nch1 = 2, type = "maternal")
sFLB(x, unknown = 1:3, affected = 4:6, carriers = 4:6,
noncarriers = NULL, penetrances = c(0.1, 0.5, 0.5))
### Ratajska et al. (2023), Family B
y = nuclearPed(5, sex = c(2,1,1,1,1)) |>
addDaughter(parents = 3, verbose = FALSE) |>
relabel("asPlot")
sFLB(y, unknown = NULL, affected = c(1,4,5,8), carriers = c(1,4,8),
noncarriers = 6:7, penetrances = c(0.01, 0.9, 0.9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.