filter_pcs: Remove cells with NA batch label from PCs and label rownames

View source: R/processing_pcs.R

filter_pcsR Documentation

Remove cells with NA batch label from PCs and label rownames

Description

Remove cells with NA batch label from PCs and label rownames

Usage

filter_pcs(pcs, batches, rename_pcs = TRUE)

Arguments

pcs

The PCs to be filtered and labeled

batches

Vector of cell-wise batch information whose length is the number of rows in 'pcs'

rename_pcs

Whether to rename the PC rownames with the cell's batch label. Default is 'TRUE'.

Value

PCs with NA batch cells removed and labeled rownames


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