isVirginQueensPresent {SIMplyBee} | R Documentation |
Are virgin queen(s) present
Description
Level 0 function that returns virgin queen(s) presence status.
Usage
isVirginQueensPresent(x)
areVirginQueensPresent(x)
Arguments
x |
Value
logical, named by colony id when x
is
MultiColony-class
Functions
-
areVirginQueensPresent()
: Are virgin queen(s) present
Examples
founderGenomes <- quickHaplo(nInd = 8, nChr = 1, segSites = 100)
SP <- SimParamBee$new(founderGenomes)
basePop <- createVirginQueens(founderGenomes)
drones <- createDrones(x = basePop[1], nInd = 1000)
droneGroups <- pullDroneGroupsFromDCA(drones, n = 10, nDrones = nFathersPoisson)
# Create a Colony and a MultiColony class
colony <- createColony(x = basePop[2])
colony <- cross(colony, drones = droneGroups[[1]])
colony <- addVirginQueens(x = colony, nInd = 4)
isVirginQueensPresent(colony)
isVirginQueensPresent(pullVirginQueens(colony)$remnant)
isVirginQueensPresent(removeQueen(colony))
apiary <- createMultiColony(basePop[3:4], n = 2)
apiary <- cross(apiary, drones = droneGroups[c(2, 3)])
apiary <- buildUp(x = apiary, nWorkers = 100, nDrones = 10)
isVirginQueensPresent(apiary)
tmp <- swarm(x = apiary)
isVirginQueensPresent(tmp$swarm)
isVirginQueensPresent(tmp$remnant)
[Package SIMplyBee version 0.3.0 Index]