normalize_by_pop: Normalize the barcode channels

normalize_by_popR Documentation

Normalize the barcode channels

Description

This function uses preliminary barcode assignments to normalize the intensity of the barcode channels

Usage

normalize_by_pop(m, bc.res, bc.key)

Arguments

m

The data matrix

bc.res

The debarcoding results to be used as basis for normalization. Data is normalized by grouping together all the events assigned to the same barcoded sample. Rows for which is.na(bc.res$labels) == TRUE are left unnormalized

bc.key

The barcode key, as returned by read_barcode_key

Value

Returns a matrix of normalized data. The ordering of the rows of the input matrix is preserved


ParkerICI/premessa documentation built on Sept. 16, 2022, 3:06 p.m.