Skip to contents

Deconvolute Cell2location

Usage

deconvolute_cell2location(
  spatial_obj,
  signature = NULL,
  epochs = 30000,
  n_cell = 10,
  alpha = 20,
  gpu = TRUE,
  result_name = "cell2location",
  values = "relative"
)

Arguments

spatial_obj

SpatialExperiment

signature

signature

epochs

training epochs for model

n_cell

cell2location hyperparameter

alpha

cell2location hyperparameter

gpu

whether to use nvidia gpu for training

result_name

token to identify deconvolution results in object, default = "card"

values

relative or absolute, default: relative