Skip to contents

Find QC metrics and summarize the results for each Region

Usage

SummarizeFilters(
  object,
  group.variable = "Region",
  across = NA,
  qc.var = ".qc_result",
  plot = F,
  other.threshold = 50
)

Arguments

object

SpatialMap object

group.variable

What to group the data by. The default is SpatialMap Regions.

across

Deprecated. Alias for group.variable.

qc.var

The name of the QC results column in cellMetadata that will detail the QC results for each cell. Should represent a categorical variable, with values including "pass" and comma-separated reasons for why a cell failed QC (e.g., "DNA, signal sum").

plot

Whether to return a plot

other.threshold

An integer. If a category in qc.var has fewer cells than this number, it's represented as "Other" in the plots and data frame.

Scroll to top