A member of the lazy-check_*()-family.

discardGeneSets(object, gs_names)

Arguments

object

A valid spata-object.

gs_names

Character vector. The gene sets to be discarded.

Value

An updated spata-object.

Details

Members of the lazy-check_*()-family take the arguments of their kind - that are used in the function they are called in - and checks whether these arguments input fit the requirements. They stop and return an error immediately once they stumble upon something invalid. They do not alter or adjust input and return TRUE if the whole function has been executed without anything invalid being found.