Skip to content

Commit

Permalink
Co-authored-by: Tianjing Zhao <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
reworkhow committed Feb 8, 2024
1 parent cd2e059 commit b7cab38
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 775 deletions.
12 changes: 12 additions & 0 deletions src/0.deprecated/BayesCDom.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
function get_dom_cov(x, n) # create dominance covariates from additive covariates
w = zeros(n)
for i=1:n
if (x[i] > 1)
w[i] = 2 - x[i]
else
w[i] = x[i]
end
end
return w
end

function sampleEffectsBayesCDom!(yCorr, nObs, nMarkers, xArray, XpRinvX, markerMeans, Rinv,
a, d, α, δ, π, varEffects, vare, u, g)
logVarEffects = log(varEffects)
Expand Down
227 changes: 0 additions & 227 deletions src/0.deprecated/BayesCPiDom.jl

This file was deleted.

Loading

0 comments on commit b7cab38

Please sign in to comment.