sampleBasedOnDepth2: Sampling cells based on their sequencing depths without...

View source: R/Utility.R

sampleBasedOnDepth2R Documentation

Sampling cells based on their sequencing depths without replace.

Description

Sampling cells based on their sequencing depths without replace.

Usage

sampleBasedOnDepth2(log10UMI, n, seed = 2022)

Arguments

n

integer

bmat

Matrix, cell by feature

Value

vector of integers, index for the sampled cells with length of min(n, ncells)


beyondpie/smmtools documentation built on July 1, 2022, 4:33 a.m.