addGeneMetaData: Add gene meta data to the object

View source: R/add.R

addGeneMetaDataR Documentation

Add gene meta data to the object

Description

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

Usage

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.

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.

Value

A spata object containing the set input.


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.