Deletes a gate or a tailored gate family

deleteGates(experimentId, gid = NULL, gateId = NULL, exclude = NULL)

Arguments

experimentId

ID of experiment.

gid

ID of gate family.

gateId

ID of gate.

exclude

Gate ID to exclude from deletion.

Details

This is an advanced function, primarily used for deleting tailored gates. It does not delete populations. Use deletePopulationAuto to delete gates and their associated populations.

Works for compound gates if you specify the top-level gid. Specifying the gid of a sector (i.e. one listed in model.gids) will result in no gates being deleted. If gateId is specified, only that gate will be deleted, regardless of the other parameters specified.

Currently, byName does not work for the gateId in this function (it does work for the experimentId).

Examples

if (FALSE) { # \dontrun{
deleteGate(experimentId, gid = gateFamilyID)
deleteGate(experimentId, gateId = gateID)
} # }