HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
Methodology Questions >> How to >> Batch Export Simulated Data http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1142537296 Message started by Nathan Clark on Mar 16th, 2006 at 11:28am |
Title: Batch Export Simulated Data Post by Nathan Clark on Mar 16th, 2006 at 11:28am
Hello again,
Thanks for the feedback, we are weighing our options. For now, is there a way to save simulated data sequences to a file using Batch Language? I can't seem to find a way. :P Thanks, -Nathan Clark |
Title: Re: Batch Export Simulated Data Post by Sergei on Mar 16th, 2006 at 12:47pm
Dear Nathan,
wrote on Mar 16th, 2006 at 11:28am:
Try something along these lines: [code] outputFileName = "foo.bar"; DataSet simData = SimulateDataSet (myLikelihoodFunction); DataSetFilter simFilter = CreateFilter (simData,1); DATA_FILE_PRINT_FORMAT = 5; /* there are other options as well; check the docs for the full list */ fprintf (outputFileName,CLEAR_FILE,simFilter); [/code] Cheers, Sergei |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |