scale_rows {cinaR}R Documentation

scale_rows

Description

Normalize (z-score) rows of a matrix

Usage

scale_rows(x)

Arguments

x

a matrix, possibly containing gene by samples

Value

Row-normalized matrix

Examples


library(cinaR)
data(atac_seq_consensus_bm) # calls 'bed'
bed.row.normalized <- scale_rows(bed[,c(4:25)])
head(bed.row.normalized)


[Package cinaR version 0.2.3 Index]