Description Usage Arguments Value
View source: R/model_magellan.R
Calls the fl_generate binary from MAGELLAN using system(command
), and return
a fitness landscape generated by MAGELLAN reordered as genotype_table
.
1 | fl_generate_magellan(nb_mut, genotype_table, command)
|
nb_mut |
A natural number. Number of mutations (or loci in MAGELLAN) used to
form the different genotypes from |
genotype_table |
A matrix of 0 and 1. The rows correspond to different genotypes and the columns to the mutations that are considered for these genotypes. A genotype (at a certain row) has a given mutation when there is a 1 in the corresponding column. A row with only zeros correspond to the wild type. |
command |
A command with the file path to the binary fl_generate and argument accepted by this binary. |
A fitness landscape with the nb_mut
first columns corresponding
to the genotype_table
and the nb_mut
+1 column corresponding to
the fitness of the genotype of each row.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.