five

Matlab code for Bayesian sparse factor analysis of mutation accumulation lines

收藏
Research Data Australia2024-12-14 收录
下载链接:
https://researchdata.edu.au/matlab-code-bayesian-accumulation-lines/3368937
下载链接
链接失效反馈
官方服务:
资源简介:
The compressed folder contains two folders and the file 'readme.txt' which contains the following information. The input data for these analyses can be downloaded at doi:10.14264/uql.2017.783 The folder ‘BSF_matlab_code’ contains the code that actually samples from the prior distributions and saves posterior samples etc. These files will not need to be edited. The folder ‘setup_files’ contains the code used to specify starting values and hyper parameters as well as randomise data where appropriate for the different types of analyses. These files may need to be edited to change names of directories. - Each .m file described below took the same 82x16925 data file as its input. They call functions in the folder BSF_matlab_code, whose path needs to be specified in the Matlab environment. - prior_runs.m, prior_continue.m, random_runs.m and shuffle_runs.m were run on high-performance compute clusters (Euramoo, now decommissioned, and Awoonga). The scripts random_runs.m and shuffle_runs.m were run on Awoonga, a new cluster that was relatively unstable when we were conducting these analyses, so we set up 140 runs initially to ensure we ended up with at least 100 sets of results. - obs_continue_1.m and obs_continue_2.m were run on a MacBook Pro. prior_runs.m - This script was run five times (with different random seeds) for each of the nine hyper parameter combinations listed in Table S2, with burn=200000, thin=100, sp=1000. prior_continue.m - This script was run on to continue the chains from prior_runs.m, clearing the previously retained posterior samples and setting burn=0, thin=100, sp=1000. obs_continue_1.m - This script continued one particular chain from the set of continued prior runs (the ‘observed’ run) for a further 100,000 samples (discarding the previously retained posterior samples). obs_continue_2.m - This script continued the observed chain, discarding the previously retained posterior samples and setting burn = 0, thin = 100 and sp = 200 (iterated through 5 times). This resulted in the final 1000 posterior samples (at a thinning rate of 100 and burn-in period of 500,000). random_runs.m - This script randomised the data (type 1 randomisation) then applies the BSF model to collect 1000 posterior samples with thinning rate 100 after a burn-in period of 200,000. random_runs.m - This script randomised the data (type 2 randomisation) then applies the BSF model to collect 1000 posterior samples with thinning rate 100 after a burn-in period of 200,000.
提供机构:
The University of Queensland
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作