sample_fibers: Get a list of tensor fibers to shuffle

View source: R/run_jackstraw.R

sample_fibersR Documentation

Get a list of tensor fibers to shuffle

Description

Get a list of tensor fibers to shuffle

Usage

sample_fibers(tensor_data, n_fibers)

Arguments

tensor_data

list The tensor data including donor, gene, and cell type labels as well as the tensor array itself

n_fibers

numeric The number of fibers to get

Value

A list of gene and cell type indices for the randomly selected fibers


kharchenkolab/scITD documentation built on Sept. 25, 2023, 11:02 p.m.