Learn R Programming

cinaR (version 0.2.6)

scale_rows: scale_rows

Description

Normalize (z-score) rows of a matrix

Usage

scale_rows(x)

Value

Row-normalized matrix

Arguments

x

a matrix, possibly containing gene by samples

Examples

Run this code
# \donttest{
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