L2Norm: L2 normalize the columns (or rows) of a given matrix

View source: R/seurat_anchor_correction.R

L2NormR Documentation

L2 normalize the columns (or rows) of a given matrix

Description

L2 normalize the columns (or rows) of a given matrix

Usage

L2Norm(mat, MARGIN = 1)

Arguments

mat

matrix to cosine normalize

MARGIN

Perform normalization over rows (1) or columns (2)

Value

returns l2-normalized matrix


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