Description Usage Arguments Details Value Author(s) References See Also Examples
Estimates the probabilities of sharing a rare variant for all subsets of a specified set of pedigree members given that the rare variant occured in any subject in the set by performing a Monte Carlo simulation of the transmission of the genotypes of the variant from the founders down the pedigree.
1 2 | GeneDropSim.allsubsets.fn(trio.list, id, dt.vec, fd.indices, carriers=dt.vec, n = 1e3,
k = 10, nf = 1)
|
trio.list |
a list of trio objects encoding the pedigree structure. |
id |
a vector of identifiers of the pedigree members. |
dt.vec |
a vector of identifiers of the subset of pedigree members for which to estimate the sharing probability. Must be a subset of the |
fd.indices |
a vector of the indices of the founders of the pedigree. |
carriers |
optional character vector of subjects carrying the rare variant among all final descendants. If null, all final descendants are assumed to carry the rare variant. |
n |
minimal number of gene dropping replicates where the rare variant occurs in at least one member of |
k |
this number times |
nf |
number of founders introducing the rare variant into the pedigree. |
The transmission of the RV down the pedigree from the nf
founders introducing it is simulated according to Mendel's laws. The events that the variant was observed in any of the subjects from dt.vec
and in all subsets of subjects included in carriers
are then recorded. The simulation continues until the number of replicates where the RV was observed in any of the subjects from dt.vec
reaches n
or the number of replicates reaches k n
. The RV sharing probabilities are then estimated as the number of replicates where the RV was observed in each subset over n
(or the number of replicates where the RV was observed in any of the subjects when k n
replicates are reached).
Vector of estimates of the probabilities of sharing of a rare variant for all subsets of subjects of a specified set of pedigree members given the rare variant occured in any of them. The names of the vector elements are the concatenation of the sorted names of the subjects in the corresponding subset, separated by semi-columns.
Samuel G. Younkin <syounkin@stat.wisc.edu> and Alexandre Bureau <alexandre.bureau@msp.ulaval.ca>
Bureau, A., Younkin, S., Parker, M.M., Bailey-Wilson, J.E., Marazita, M.L., Murray, J.C., Mangold, E., Albacha-Hejazi, H., Beaty, T.H. and Ruczinski, I. (2014) Inferring rare disease risk variants based on exact probabilities of sharing by multiple affected relatives. Bioinformatics, 30(15): 2189-96, doi:10.1093/bioinformatics/btu198.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.