Scale expression estimates by rolling mean

scale_by_rolling_mean(expr.mat, genes.bed, window_size)

Arguments

expr.mat

a matrix of expression values

genes.bed

A bed-like file containing gene coordinates

window_size

Window size to use for rolling mean

Value

A transformed matrix