Skip to contents

Returns feature names of `deconverse` results that are stored in the Seurat object

Usage

# S3 method for Seurat
deconverse_results(
  spatial_obj,
  method = NULL,
  major_population = FALSE,
  raw_results = FALSE
)

# S3 method for scbench
deconverse_results(scbench, tidy = FALSE, ...)

Arguments

spatial_obj

a Seurat object with a "Spatial" assay

method

a string, corresponding to the method of deconvolution. Must be one of `deconvolution_methods()`. If NULL, all available deconvolution features are returned.

major_population

if TRUE, the method returns a categorical feature with the most abundant population predicted for each spot.

raw_results

if TRUE, returns deconverse results as stored in the object instead of feature names. Also available on `spatial_obj@tools$deconverse`

Value

a vector of strings correspoding to features in the Seurat object.