Set the content of a slot.

set_count_slot(tsre_obj, new_data, fill_slot, data_type, subslot)

Arguments

tsre_obj

TSRexploreR object.

new_data

Data to be added to the slot.

fill_slot

Either 'counts' or 'diff_features'.

data_type

Either 'tss', 'tsr', 'tss_features', or 'tsr_features'.

subslot

Either 'raw', 'matrix', or 'results'.