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

View source: R/generics.R View source: R/BiCCA.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


KChen-lab/bindSC documentation built on Sept. 29, 2022, 4:24 a.m.