add_missing_hto_rows: Add zero values for missing HTOs to a matrix

Description Usage Arguments Value

View source: R/hash_matrix_analysis.R

Description

Add zero values for missing HTOs to a matrix

Usage

1
add_missing_hto_rows(mat, valid_htos)

Arguments

mat

A matrix or sparse matrix of hash tag oligo counts. Rows must be hashes, columns must be cells

valid_htos

A character vector of valid hto sequences.

Value

a dgCMatrix of HTO counts with rows equal to valid_htos.


AllenInstitute/BarMixer documentation built on Dec. 17, 2021, 8:42 a.m.