Set the gene-set data.frame

setGeneSetDf(object, gene_set_df)

Arguments

object

A valid spata-object.

gene_set_df

A data.frame containing the gene names in variable gene and the gene set name in variable ont.

Value

A spata object containing the set input.

Details

All set*()-functions offer a save way to set certain slots of your spata-object. They do check the input for validity but effectively overwrite everything that is occupying the slot to be set - use with caution.