Contents:
Tutorial
Guide
snipar
»
snipar.simulate module
Edit on GitHub
snipar.simulate module
snipar.simulate.
am_indices
(
yp
,
ym
,
r
)
[source]
snipar.simulate.
compute_genetic_component
(
haps
,
causal
,
a
)
[source]
snipar.simulate.
compute_phenotype
(
haps
,
causal
,
a
,
sigma2
)
[source]
snipar.simulate.
compute_phenotype_indirect
(
haps
,
old_haps
,
father_indices
,
mother_indices
,
causal
,
a
,
b
,
sigma2
)
[source]
snipar.simulate.
compute_phenotype_vert
(
haps
,
causal
,
a
,
sigma2
,
beta_vert
,
Y_p
,
Y_m
)
[source]
snipar.simulate.
impute_all_fams
(
gts
,
freqs
,
ibd
)
[source]
snipar.simulate.
impute_all_fams_phased
(
haps
,
freqs
,
ibd
)
[source]
snipar.simulate.
impute_from_sibs
(
g1
,
g2
,
ibd
,
f
)
[source]
snipar.simulate.
impute_from_sibs_phased
(
g1
,
g2
,
ibd
,
f
)
[source]
snipar.simulate.
meiosis
(
map
,
n
=
1
)
[source]
snipar.simulate.
produce_next_gen
(
father_indices
,
mother_indices
,
males
,
females
,
map
)
[source]
snipar.simulate.
random_mating_indices
(
nfam
)
[source]
snipar.simulate.
simulate_recombinations
(
map
)
[source]