sampleCell: sampling background cells

View source: R/util.R

sampleCellR Documentation

sampling background cells

Description

sampling background cells

Usage

sampleCell(obj, posCell, method = c("knn", "random"), bgCellnumber = NULL)

Arguments

obj

pagoda2 object

posCell

position of positive cells

method,

sample cells based on nearest cells or random cells


huqiwen0313/snarePip documentation built on June 11, 2022, 5:34 p.m.