simulate_pan | R Documentation |
Simulates a pangenome presence/absence matrix and accompanying core phylogeny
simulate_pan(
ngenomes = 50,
rate = 1e-05,
genome_length = 2000,
fn_error_rate = 1,
fp_error_rate = 3,
mean_trans_size = 3,
Q = 1,
bf = c(0.3, 0.2)
)
ngenomes |
number of genomes to simulate |
rate |
rate of gene gain/loss events |
genome_length |
number of genes |
fn_error_rate |
false negative error rate |
fp_error_rate |
false positive error rate |
mean_trans_size |
mean size of the number of genes gained or lost per event |
Q |
the rate matrix (default=1) |
bf |
the base frequencies (default=c(0.3,0.2)) |
A list comprising of a binary gene presence/absence matrix and a core phylogeny
pan <- simulate_pan()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.