downsample_pcs: Downsample PCs for use in integration metric calculations

View source: R/processing_pcs.R

downsample_pcsR Documentation

Downsample PCs for use in integration metric calculations

Description

Downsample PCs for use in integration metric calculations

Usage

downsample_pcs(pcs, frac_cells, min_cells = 50)

Arguments

pcs

The PCs to downsample, these PCs should contain batch labels as rownames

frac_cells

The fraction of cells to downsample to

min_cells

The minimum number of cells after downsampling. Default: 50

Value

The downsampled PCs


AlexsLemonade/scpcaTools documentation built on July 12, 2024, 8:34 a.m.