vectorizeAll: Unitize series of vectors

View source: R/cpaProgs.R

vectorizeAllR Documentation

Unitize series of vectors

Description

Normalize all rows of a matrix to have unit length

Usage

vectorizeAll(protMatOrig)

Arguments

protMatOrig

matrix of profiles

Value

Matrix with all rows having unit length

Examples

data(protNSA_test)
round(head(vectorizeAll(protNSA_test[,1:9])), digits=4)

mooredf22/protlocassign documentation built on Sept. 13, 2023, 3:57 p.m.