shuffle_fibers {scITD}R Documentation

Shuffle elements within the selected fibers

Description

Shuffle elements within the selected fibers

Usage

shuffle_fibers(tensor_data, s_fibers)

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

Value

The tensor_data object with the values for the selected fibers shuffled.


[Package scITD version 1.0.4 Index]