Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nichollskc committed May 31, 2022
2 parents ce969b6 + f28e710 commit 2048d06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/simplex_simulation.R
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@ print(dim(result$bigpsm))
summary_dpmunc = produce_summary("DPMUnc", "x", calls$cl)

outputdir = dirname(snakemake@output[["clusterAllocationsNovar"]])
DPMUnc(simulation$obsData, simulation$obsVars / 100000, saveFileDir = outputdir, seed=seed,
DPMUnc(simulation$obsData, simulation$obsVars * 1e-10, saveFileDir = outputdir, seed=seed,
kappa0=kappa0, alpha0=alpha0, beta0=beta0,
nIts=10000, scaleData=FALSE)
result_novar = calc_psms(outputdir)
calls_novar=maxpear(result_novar$bigpsm, method="comp")
summary_dpmuncnovar = produce_summary("DPMUnc_novar", "x", calls_novar$cl)

outputdir = dirname(snakemake@output[["clusterAllocationsLatents"]])
DPMUnc(latents, simulation$obsVars / 100000, saveFileDir = outputdir, seed=seed,
DPMUnc(latents, simulation$obsVars * 1e-10 , saveFileDir = outputdir, seed=seed,
kappa0=kappa0, alpha0=alpha0, beta0=beta0,
nIts=10000, scaleData=FALSE)
result_latents = calc_psms(outputdir)
Expand Down

0 comments on commit 2048d06

Please sign in to comment.