adjust_counts: adjust count

View source: R/object_utilities_and_methods.R

adjust_countsR Documentation

adjust count

Description

adjust counts after reducing the resolution of the image tensor or after filtering stray beads

Usage

adjust_counts(coordinates, counts, throw = TRUE, verbose = TRUE)

Arguments

coordinates

data frame containing coordinates after reducing resolution and compressing cooridnates

counts

count matrix

throw

logical - throwing warning message for unshared barcodes

verbose

logical if progress messaged should be outputed.

Details

This function will check the coordinate file to see if any barcodes have been merged together. If so, the counts will be adjusted by taking the average count value accross all barcodes that have been merged together.

Value

a count matrix with adjusted count values


patrickCNMartin/Vesalius documentation built on April 17, 2025, 11:31 p.m.