l1NormalizeRows: Row-normalize a sparse, symmetric matrix (using the l1 norm)...

View source: R/utilities.R

l1NormalizeRowsR Documentation

Row-normalize a sparse, symmetric matrix (using the l1 norm) so that each row sums to 1.

Description

Row-normalize a sparse, symmetric matrix (using the l1 norm) so that each row sums to 1.

Usage

l1NormalizeRows(A)

Arguments

A

matrix

Value

row-normalized sparse matrix object


sqjin/CellChat documentation built on Nov. 10, 2023, 4:29 a.m.