Skip to content

The function createVirginQueens() should also work with just a mated queen (Pop) as the input #267

Closed

Description

@janaobsteter
No description provided.

Activity

  1. gregorgorjanc commented on Apr 26, 2022

    @gregorgorjanc
    Member

    I think I know where your coming from - to simplify the creation of a base population? Could you show an example here please?

  2. janaobsteter commented on May 4, 2022

    @janaobsteter
    CollaboratorAuthor

    Yes, exactly. For example, in the simulation, I first create x virgin queens for the founders --> then use q for queens and (x - q) for drone producing queens. Then I mate the queens and in the next step I want to "graft/multiply" the queens to get another generation of virgin queens, but that is currently not possible without having the queen in a colony. I think this feature would also be helpful in the simulation of grafting from a single inseminated queen.

  3. janaobsteter commented on May 4, 2022

    @janaobsteter
    CollaboratorAuthor
    founderGenomes <- quickHaplo(nInd = 5, nChr = 1, segSites = 100)
    SP <- SimParamBee$new(founderGenomes)
    basePop <- createVirginQueens(founderGenomes)
    drones <- createDrones(x = basePop[1], nInd = 50)
    queens <- crossVirginQueen(basePop[2:5], drones = drones, nFathers = 5)
    createVirginQueens(queens)
    

    which returns an error: "Error in createVirginQueens(queens) :
    Argument x must be a Map-Pop or Colony or Colonies class object!"

  4. gregorgorjanc commented on May 4, 2022

    @gregorgorjanc
    Member

    I think we had this before, but for some reason we went back to "you can only create virgin queens and workers from a colony". I am open to going back;) Its and edge case, like with createDrones()`. Maybe we make it clear in the docs that this is a hack?

  5. janaobsteter commented on May 5, 2022

    @janaobsteter
    CollaboratorAuthor

    I will change it back then and make it clear in the documentation, that this should only be used in special cases ("multiplying" the founders, case studies of inheritance ...)

  6. janaobsteter commented on Jul 14, 2022

    @janaobsteter
    CollaboratorAuthor

    So, we are not allowing this now (again). We need to discuss what we want here.

  7. locked and limited conversation to collaborators on Jul 14, 2022
  8. converted this issue into a discussion #281 on Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrepro&nat_popReproduction & natural populations stuff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions