fitPixels: Runs the RCTD algorithm

View source: R/runRCTD.R

fitPixelsR Documentation

Runs the RCTD algorithm

Description

If in doublet mode, fits at most two cell types per pixel. It classifies each pixel as 'singlet' or 'doublet' and searches for the cell types on the pixel. If in full mode, can fit any number of cell types on each pixel. In multi mode, cell types are added using a greedy algorithm, up to a fixed number.

Usage

fitPixels(RCTD, doublet_mode = "doublet")

Arguments

RCTD

an RCTD object after running the choose_sigma_c function.

doublet_mode

character string, either "doublet", "multi", or "full" on which mode to run RCTD. Please see above description.

Value

an RCTD object containing the results of the RCTD algorithm.


dmcable/RCTD documentation built on Feb. 24, 2024, 11:03 p.m.