getSingleCellDeconv: runRCTD cell-type deconvolution

View source: R/Deconvolution_family.R

getSingleCellDeconvR Documentation

runRCTD cell-type deconvolution

Description

Run the a cell type deconvolution using the SpaceXR/RCTD algorithm from SPATA objects

Usage

getSingleCellDeconv(
  object,
  deconv_cell_types,
  spot_extension = NULL,
  multicore = T,
  flip.y = T,
  workers = 16,
  scale_factor = NULL
)

Arguments

object

SPATA2 object

deconv_cell_types

Character value of all celltypes (from the feature data.frame) should be used

spot_extension

Numeric value between 0 and 0.7. Specifies extension of the spot radius to include more cells. For example, a spot extension of 0.2 will increase the spot radius of 20%)

multicore

Logical. If TRUE will be run on all cores (recommended)

flip.y

Logical. If TRUE y axis will be flipped

scale_factor

Numeric value, if adjustment of the SPATAwrappers::getNucleusPosition() is required

Author(s)

Dieter Henrik Heiland


heilandd/SPATAwrappers documentation built on Oct. 2, 2022, 1:40 p.m.