Skip to contents

Threshold a matrix

Threshold a matrix

Usage

presence(spe, method, threshold = NULL)

presence(spe, method, threshold = NULL)

Arguments

spe

A SpatialExperiment containing deconvolution scores for each spot and celltype

method

deconvolution method

threshold

if single value is provided the same threshold is used for all celltypes, it is also possible to provide a threshold vector