Safely adds the output of computeGeneMetaData2() to the spata-object.

addGeneMetaData(object, of_sample = "", meta_data_list)

Arguments

object

A valid spata-object.

of_sample

This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.

meta_data_list

Output list of computeGeneMetaData2(). An additional slot named mtr_name needs to be added manually.

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.