NormCells: Normalize protein matrix by dividing out total counts per...

View source: R/data_processing.R

NormCellsR Documentation

Normalize protein matrix by dividing out total counts per cell, accounting for cells with no counts by keeping them 0 Usually to_norm and norm_by will be the same count matrix, but sometimes we want to normalize processed data by raw

Description

Normalize protein matrix by dividing out total counts per cell, accounting for cells with no counts by keeping them 0 Usually to_norm and norm_by will be the same count matrix, but sometimes we want to normalize processed data by raw

Usage

NormCells(to_norm, norm_by = to_norm)

Arguments

to_norm

a (cells x proteins) matrix

norm_by

a (cells x proteins) matrix


CamaraLab/STvEA documentation built on April 2, 2024, 6:07 a.m.