Commit graph

372 commits

Author SHA1 Message Date
Waldir Leoncio
5449bef162 Fixed output 2024-09-27 13:01:32 +02:00
Waldir Leoncio
dd6ee912bd Syntax fixes 2024-09-27 13:01:30 +02:00
Waldir Leoncio
9e554d5d4b Aligned processing of Genepop with MATLAB code 2024-09-13 13:53:01 +02:00
Waldir Leoncio
31575a5b9e Dropped support for GenePop on importFile()
File should be handled by `process_GenePop_data()`, as per original BAPS.
2024-09-13 13:52:39 +02:00
Waldir Leoncio
00605016d6 Added process_GenePop_data() 2024-09-13 13:51:25 +02:00
Waldir Leoncio
036ec00bbd Fixed addAlleles() 2024-09-13 13:39:24 +02:00
Waldir Leoncio
9e3ea49398 handleData defaults to BAPS format 2024-09-13 12:42:46 +02:00
Waldir Leoncio
99e272a80f Ensure diffInCounts returns as.matrix (#24) 2024-08-26 06:09:27 +02:00
Waldir Leoncio
471c380ce3 Improved conversion from FASTA to BAPS (#24) 2024-08-09 15:33:03 +02:00
Waldir Leoncio
ca358ff0fb Improved handling of FASTA data (#24) 2024-08-09 14:57:07 +02:00
Waldir Leoncio
73b0a70138 process_BAPS_data() can handle file being an R object 2024-08-09 13:55:55 +02:00
Waldir Leoncio
7b7968f00b Added function to convert from FASTA to BAPS (#24) 2024-08-09 13:55:04 +02:00
Waldir Leoncio
6e08c35f13 Unwrapped `greedyMix() example (#24) 2024-08-07 11:42:29 +02:00
Waldir Leoncio
e873075ebf Fixed greedyMix() for BAPS files (#24) 🍾 2024-07-02 16:39:38 +02:00
Waldir Leoncio
6aecf38231 Fixed indMix() and subfunctions (#24) 2024-07-02 16:31:17 +02:00
Waldir Leoncio
320bb28a7a Fixed docs 2024-06-26 14:27:02 +02:00
Waldir Leoncio
99f28ba215 Renamed global environment, fixed assignments (#24) 2024-04-11 09:47:29 +02:00
Waldir Leoncio
ec959fcfb2 Fixes to laskeMuutokset() (#24) 2024-04-10 16:07:00 +02:00
Waldir Leoncio
d1e567c326 Syntax fix to indMix() (#24) 2024-04-10 16:07:00 +02:00
Waldir Leoncio
55a36e81ae Retranslated computeDiffInCounts() (#24) 2024-04-10 16:07:00 +02:00
Waldir Leoncio
c3b8da0012 Changed default npops to 3 (#24) 2024-04-10 16:06:59 +02:00
Waldir Leoncio
58a5e5a2fd laskeMuutokset() reads npop from parent functions (#24) 2024-04-10 16:06:58 +02:00
Waldir Leoncio
5deadcf3ee Using a dedicated environment for globals (#24)
Based on suggestion from <https://stackoverflow.com/a/12605694/1169233>.
2024-04-10 16:06:58 +02:00
Waldir Leoncio
55d302ab67 Retranslated computePopulationLogml() (#24) 2024-04-10 16:06:58 +02:00
Waldir Leoncio
f5c09094b0 Skips greedyMix() example until #24 is fixed 2024-04-08 13:34:14 +02:00
Waldir Leoncio
f676042a17 Updated documentation (#24) 2024-04-08 13:29:03 +02:00
Waldir Leoncio
6209bb33fa Fails for FAST input to greedyMix() (#24)
This is a desirable feature, but was not implemented in the original BAPS, so better leave it out until the original planned features is working.
2024-04-08 13:14:54 +02:00
Waldir Leoncio
6c3e2aff04 Fixed calculation og ninds (#24) 2024-04-08 10:11:25 +02:00
Waldir Leoncio
5c35b9ad1e Bugfixes to indMix() and subfunctions (#24) 2024-03-25 16:10:44 +01:00
Waldir Leoncio
26ab0107a8 Improved handling of BAPS format (#24) 2024-03-25 16:10:43 +01:00
Waldir Leoncio
f361975254 Fixed calculation of ninds ekat (#24) 2024-03-25 16:10:43 +01:00
Waldir Leoncio
530442487f Added processing of BAPS format
To be eventually dropped, but useful for comparing output with MATLAB code.
2024-03-25 16:10:41 +01:00
Waldir Leoncio
273edafd30 Improved output of writeMixtureInfo()
Also, incremented version number to 0.0.0.9024
2023-09-14 12:52:30 +02:00
Waldir Leoncio
63af25a63d Auto-recognizing format of greedyMix() data
Works as long as there's only one period in the file path
2023-09-14 11:11:37 +02:00
Waldir Leoncio
a73752364b Fixed output of greedyMix() 2023-09-14 11:02:06 +02:00
Waldir Leoncio
ceaf7eca4b Added verbose argument to writeMixtureInfo() 2023-09-11 14:06:45 +02:00
Waldir Leoncio
2b756576ac Fixed sink() usage 2023-09-11 13:14:08 +02:00
Waldir Leoncio
70ec460106 Fixed docs 2023-09-11 13:13:55 +02:00
Waldir Leoncio
882fcd4112 Exporting importFile() 2023-09-11 12:51:41 +02:00
Waldir Leoncio
3e4044bcec Improved handling of supported formats for greedyMix() (#25) 2023-09-11 12:49:21 +02:00
Waldir Leoncio
76828387a3 Fixed basic parsing of FASTA files (#25) 2023-09-11 12:15:30 +02:00
Waldir Leoncio
cfb71bfd6d Fixed syntax (#25) 2023-08-11 16:23:02 +02:00
Waldir Leoncio
44e418f838 Improved printing (#25) 2023-08-11 16:22:45 +02:00
Waldir Leoncio
177685b6a2 Partial reversion of b034158 (#25)
It should be OK for Z to be NULL. This currently triggers an issue on initialCounts(), which should be fixed
2023-08-11 16:22:29 +02:00
Waldir Leoncio
372891fbe1 Fixed to indMix (#25) 2023-08-11 14:31:08 +02:00
Waldir Leoncio
3537f18d2c Incorporated handleData() on greedyMix() (#25) 2023-08-11 11:18:03 +02:00
Waldir Leoncio
f47e13d3a9 Improved handleData() to handle FASTA (#25) 2023-08-11 11:13:24 +02:00
Waldir Leoncio
95d9d658cb Added numeric output option to load_fasta() (#25) 2023-08-11 11:01:20 +02:00
Waldir Leoncio
bd932e2b6d Added missing documentation for arguments (#25) 2023-08-09 15:27:45 +02:00
Waldir Leoncio
85c8c01816 Syntax fix (#25) 2023-08-09 15:11:54 +02:00