shuffle_fibers: Shuffle elements within the selected fibers
Description
Shuffle elements within the selected fibers
Usage
shuffle_fibers(tensor_data, s_fibers)
Value
The tensor_data object with the values for the selected fibers shuffled.
Arguments
- tensor_data
list The tensor data including donor, gene, and cell type labels
as well as the tensor array itself
- s_fibers
list Gene and cell type indices for the randomly selected fibers