Learn R Programming

cinaR (version 0.2.3)

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

Run this code
# NOT RUN {
library(cinaR)
data(atac_seq_consensus_bm) # calls 'bed'
bed.row.normalized <- scale_rows(bed[,c(4:25)])
head(bed.row.normalized)
# }

Run the code above in your browser using DataLab