Learn R Programming

CellChat (version 1.0.0)

l1NormalizeRows: 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