trained.model function

Get and set trained.model slot in a SpatialExperiment object