Giter VIP home page Giter VIP logo

Comments (2)

vesmanojlovic avatar vesmanojlovic commented on June 3, 2024 1

A set of parameters which gives quite nice looking Muller plots is:

parameters
{
    spatial_structure
    {
        log2_deme_carrying_capacity 9
    }
    dispersal
    {
        migration_type 0
        init_migration_rate 2e-03
        migration_edge_only 1
        migration_rate_scales_with_K 1
    }
    mutation_rates
    {
        mu_driver_birth 1e-05
        mu_passenger 0.1
        mu_driver_migration 0
        passenger_pop_threshold -1
    }
    fitness_effects
    {
        normal_birth_rate 0.8
        baseline_death_rate 0
        s_driver_birth 0.1
        s_passenger 0
        s_driver_migration 0
        max_relative_birth_rate 10
        max_relative_migration_rate 10
    }
    non_biological_parameters
    {
        init_pop 1
        matrix_max -1
        max_pop 100000
        max_time 86400
        max_generations 2000
        seed 10
        write_grid 0
        write_clones_file 0
        write_demes_file 0
        record_matrix 0
        write_phylo 0
        calculate_total_diversity 0
        biopsy_size_per_sample 100
    }
}

Should run in a couple minutes. The Muller plot function is plot_all_images("path_to_output_folder"), and there's also plot_all_charts("path_to_output_folder") which outputs evolutionary parameter graphs. I really like the idea of having a more user-friendly way to converse with demon btw!

from warlock.

AngryMaciek avatar AngryMaciek commented on June 3, 2024

Actually, I need some feedback here as well @robjohnnoble:

I need a set of demon parameters which would result in a nice, presentable results. I would like to prepare an interactive example so it also need to have a reasonable runtime (a few minutes is OK). It may be a toy example population, just so that we may show and let others trigger the workflow and inspect the results themselves.

Also: I understand that the repository of yours (above) works out-of-the-box to generate Muller plots? That would be very desirable.

I plan to set up an interactive Jupyter notebook which would clone this repo, install its dependencies, install your package too and start an interactive notebook where users could trigger the workflow and then generate some simple plots out of the results.

from warlock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.